Skip to content

Commit

Permalink
Update examples/use_cached_session.py
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Tölle <[email protected]>
  • Loading branch information
jooola and apricote authored Nov 22, 2023
1 parent afc2d3a commit e4bdeaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/use_cached_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
with client.cached_session() as session:
# This will query the API only once
for i in range(100):
servers = session.locations.get_all()
locations = session.locations.get_all()

print(servers)
print(locations)

0 comments on commit e4bdeaa

Please sign in to comment.