Skip to content

Commit

Permalink
Add Session annotation for sessionmaker call (#8257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mano7onam authored Jul 8, 2022
1 parent fbddd2c commit b145b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/SQLAlchemy/sqlalchemy/orm/session.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down

0 comments on commit b145b32

Please sign in to comment.