mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
disabled inspection for pycharm
This commit is contained in:
parent
cf8df06f63
commit
d5c7279e07
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ class I18nMiddleware(BaseMiddleware):
|
|||
else:
|
||||
return translator.ngettext(singular, plural, n)
|
||||
|
||||
# noinspection PyMethodMayBeStatic,PyUnusedLocal
|
||||
async def get_user_locale(self, action: str, args: Tuple[Any]) -> str:
|
||||
"""
|
||||
User locale getter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue