chore: Clean up variable assignment. (#7962)

* chore: Clean up variable assignment.

* fix: variable now const as a result of prev commit
This commit is contained in:
Neil Fraser
2024-03-26 19:13:52 +01:00
committed by GitHub
parent 2f4bea4ede
commit 2ea9e21e6d
12 changed files with 16 additions and 18 deletions

View File

@@ -62,8 +62,8 @@ def run_query():
while more:
results, cursor, more = query.fetch_page(PAGE_SIZE, start_cursor=cursor)
handle_results(results)
page_count = page_count + 1
result_count = result_count + len(results)
page_count += 1
result_count += len(results)
print(f'{datetime.datetime.now().strftime("%I:%M:%S %p")} : page {page_count} : {result_count}')
run_query()