Skip to content

Commit

Permalink
fix: fixing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
pgautier404 committed Jul 12, 2023
1 parent 102b833 commit 5caa1b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/py310/readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
timedelta(seconds=60)
)

create_cache_response = cache_client.create_cache("cache")
set_response = cache_client.set("cache", "my-key", "my-value")
get_response = cache_client.get(_CACHE_NAME, _KEY)
cache_client.create_cache("cache")
cache_client.set("cache", "my-key", "my-value")
get_response = cache_client.get("cache", "my-key")
match get_response:
case CacheGet.Hit() as hit:
print(f"Got value: {hit.value_string}")
Expand Down

0 comments on commit 5caa1b6

Please sign in to comment.