Improved docs and typing

This commit is contained in:
2023-08-17 23:04:38 +02:00
parent 4cbb51ca61
commit 32260e95a7
5 changed files with 38 additions and 9 deletions

View File

@@ -11,10 +11,10 @@ class PyroClient(LibPyroClient):
"""Find User by it's ID or User object.
### Args:
* user (`Union[int, User]`): ID or User object to extract ID from
* user (`Union[int, User]`): ID or User object to extract ID from.
### Returns:
* `PyroUser`: PyroUser object
* `PyroUser`: User in database representation.
"""
return (