Skip to content

Commit

Permalink
Update response.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Aug 14, 2024
1 parent c584bd0 commit 60fbe9c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion aiohttp_apischema/response.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import json
import sys
from concurrent.futures import Executor
from typing import Generic, Literal, TypeVar, overload
from typing import Generic, Literal, overload

from aiohttp import web
from aiohttp.typedefs import LooseHeaders

if sys.version_info >= (3, 13):
from typing import TypeVar
else:
from typing_extensions import TypeVar

_T = TypeVar("_T")
_Status = TypeVar("_Status", bound=int, default=Literal[200])

Expand Down

0 comments on commit 60fbe9c

Please sign in to comment.