Skip to content

Commit

Permalink
Fix annotations for Py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew000 authored and RootShinobi committed Jun 1, 2024
1 parent e2dab83 commit e347ba0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion aiogram_i18n/utils/context_instance.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
from __future__ import annotations

from contextlib import contextmanager
from contextvars import ContextVar, Token
from typing import Any, Generator, Generic, Literal, Optional, TypeVar, cast, overload
from typing import TYPE_CHECKING, Any, Generator, Generic, Optional, TypeVar, cast, overload

if TYPE_CHECKING:
from typing_extensions import Literal

ContextInstance = TypeVar("ContextInstance")

Expand Down

0 comments on commit e347ba0

Please sign in to comment.