Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Doyon committed Sep 9, 2024
1 parent 8bed108 commit 53be053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/global-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ for resp in api_client.scroll(
resp_data: dict = resp.json()

fetched_pages += 1
num_results: int = len(resp_data.get("items", []))
num_results: int = len(resp_data["items"])
print(f"Fetched page {fetched_pages} with {num_results} results...")

# Save the last "next" value.
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/tenant-events.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ for resp in api_client.scroll(
resp_data: dict = resp.json()

fetched_pages += 1
num_results: int = len(resp_data.get("items", []))
num_results: int = len(resp_data["items"])
print(f"Fetched page {fetched_pages} with {num_results} results...")

# Save the last "next" value.
Expand Down

0 comments on commit 53be053

Please sign in to comment.