]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Update session.py
authorSam Bull <aa6bs0@sambull.org>
Sat, 19 Nov 2022 15:01:10 +0000 (15:01 +0000)
committerGitHub <noreply@github.com>
Sat, 19 Nov 2022 15:01:10 +0000 (15:01 +0000)
lib/sqlalchemy/ext/asyncio/session.py

index e8245bdf8ff494ed4a1b94e2e1e23c92afafee67..56e54867404cdd7b8da59add882c422dea1dcdf9 100644 (file)
@@ -1451,7 +1451,7 @@ class async_sessionmaker(Generic[_AS]):
     def __init__(
         self,
         bind: Optional[_AsyncSessionBind],
-        class_: Type[_AS],  # type: ignore
+        class_: Type[_AS],
         autoflush: bool = ...,
         expire_on_commit: bool = ...,
         info: Optional[_InfoType] = ...,
@@ -1463,7 +1463,7 @@ class async_sessionmaker(Generic[_AS]):
         self,
         bind: Optional[_AsyncSessionBind] = ...,
         *,
-        class_: Type[_AS],  # type: ignore
+        class_: Type[_AS],
         autoflush: bool = ...,
         expire_on_commit: bool = ...,
         info: Optional[_InfoType] = ...,