Fixed annotations

This commit is contained in:
Alex Root Junior 2021-09-21 01:54:07 +03:00
parent ad5465048d
commit 3627f36a54
2 changed files with 1 additions and 2 deletions

View file

View 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: