mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
#7 Change Optional[str] to Optional[Dict]
This commit is contained in:
parent
a18ea82974
commit
ee1f445845
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class BaseStorage:
|
|||
async def get_data(self, *,
|
||||
chat: typing.Union[str, int, None] = None,
|
||||
user: typing.Union[str, int, None] = None,
|
||||
default: typing.Optional[str] = None) -> typing.Dict:
|
||||
default: typing.Optional[typing.Dict] = None) -> typing.Dict:
|
||||
"""
|
||||
Get state-data for user in chat. Return `default` if data is not presented in storage.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue