Skip to content

Commit

Permalink
add hset example
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon committed Apr 7, 2024
1 parent 89337e5 commit 10f9e0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/python/glide/async_commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ async def hget(self, key: str, field: str) -> Optional[str]:
Returns None if `field` is not presented in the hash or `key` does not exist.
Examples:
>>> await client.hset("my_hash", "field")
>>> await client.hget("my_hash", "field")
"value"
>>> await client.hget("my_hash", "nonexistent_field")
Expand Down

0 comments on commit 10f9e0c

Please sign in to comment.