Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
fix error: skip every 3 product(company) in the batch
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Lysikov committed Oct 23, 2022
1 parent 6e1ed8e commit 517e527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_dataai/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def request_records(self, context: dict | None) -> Iterable[dict]:
self.logger.info(f'Current batch ids: min - {min_current_batch}, max - {max_current_batch}')

current_ids = type_values[min_current_batch:max_current_batch]
min_current_batch = max_current_batch + 1
min_current_batch = max_current_batch

if len(current_ids) == 0:
break
Expand Down

0 comments on commit 517e527

Please sign in to comment.