Skip to content

Commit

Permalink
fix removed
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Sep 10, 2023
1 parent af6f577 commit ecd2d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion align_data/embeddings/pinecone/update_pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def process_batch(self, batch: List[Article]):
self.pinecone_db.delete_entries([a.id for a in batch])
logger.info('removing batch %s', len(batch))
for article in batch:
article.pinecone_status = PineconeStatus.removed
article.pinecone_status = PineconeStatus.absent
return batch


Expand Down

0 comments on commit ecd2d30

Please sign in to comment.