Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
WIP: ID Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michelledv01 committed Aug 8, 2023
1 parent 45deb26 commit 2652870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def fetch_records(self, start_at=None, cursor_value=None) -> list[dict]:
next_start_at = documents[-1] if documents else None

if next_start_at is not None:
logger.info(f"Fetching next batch of documents. Last document: {next_start_at['id']}")
logger.info(f"Fetching next batch of documents. Last document: {next_start_at[self.primary_key]}")
return self.fetch_records(next_start_at, cursor_value)
else:
return data

0 comments on commit 2652870

Please sign in to comment.