mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Add Session annotation for sessionmaker call (#8257)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user