mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Fixed annotations
This commit is contained in:
parent
ad5465048d
commit
3627f36a54
2 changed files with 1 additions and 2 deletions
0
aiogram/utils/__init__.py
Normal file
0
aiogram/utils/__init__.py
Normal file
|
|
@ -1,7 +1,6 @@
|
|||
import gettext
|
||||
import os
|
||||
from contextvars import ContextVar
|
||||
from os import PathLike
|
||||
from pathlib import Path
|
||||
from typing import Dict, Optional, Tuple, Union
|
||||
|
||||
|
|
@ -12,7 +11,7 @@ class I18n:
|
|||
def __init__(
|
||||
self,
|
||||
*,
|
||||
path: Union[str, PathLike[str], Path],
|
||||
path: Union[str, Path],
|
||||
locale: str = "en",
|
||||
domain: str = "messages",
|
||||
) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue