Add Session annotation for sessionmaker call (#8257)

This commit is contained in:
Andrey
2022-07-08 12:31:36 +03:00
committed by GitHub
parent fbddd2c4e2
commit b145b32aa9

View File

@@ -214,7 +214,7 @@ class sessionmaker(_SessionClassMethods):
**kw,
) -> None: ...
def begin(self): ...
def __call__(self, **local_kw): ...
def __call__(self, **local_kw) -> Session: ...
def configure(self, **new_kw) -> None: ...
def close_all_sessions() -> None: ...