Skip to content

Commit

Permalink
batch_errors bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DevDaveFrame committed Dec 5, 2023
1 parent 72dfbb6 commit ea7d24f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bigquery_exporter/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def export(self, pull_date=None):
# updating the row index to account for the batch offset
for error in batch_errors:
error['index'] += start
errors.extend(errors)
errors.extend(batch_errors)

logger.info(f'Finished exporting {len(queryset)} {self.model} in {datetime.datetime.now() - pull_time}')
except (GoogleAPICallError, RetryError) as e:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-bigquery-exporter
version = 0.1.8
version = 0.1.9
description = A Django plugin for exporting CMS data to Google BigQuery.
long_description = file: README.rst
url = https://www.industrydive.com/
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
],
name='django-bigquery-exporter',
packages=['bigquery_exporter'],
version='0.1.8',
version='0.1.9',
)

0 comments on commit ea7d24f

Please sign in to comment.