mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix user model. (Babel is not required)
This commit is contained in:
parent
8d063242ac
commit
173b3ad988
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class User(Deserializable):
|
|||
return self.full_name
|
||||
|
||||
@property
|
||||
def locale(self) -> babel.core.Locale or None:
|
||||
def locale(self) -> 'babel.core.Locale' or None:
|
||||
"""
|
||||
This property require `Babel <https://pypi.python.org/pypi/Babel>`_ module
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue