mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fix return typing
This commit is contained in:
parent
7e601d1c8d
commit
3adba29c27
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class User(base.TelegramObject):
|
|||
return self.full_name
|
||||
|
||||
@property
|
||||
def locale(self) -> 'babel.core.Locale' or None:
|
||||
def locale(self) -> babel.core.Locale or None:
|
||||
"""
|
||||
Get user's locale
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue