Skip to content

Add type stub for sqlalchemy.orm.session.close_all_sessions #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sqlalchemy-stubs/orm/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ from .descriptor_props import (
from .relationships import foreign as foreign, remote as remote
from .session import (
Session as Session,
close_all_sessions as close_all_sessions,
object_session as object_session,
sessionmaker as sessionmaker,
make_transient as make_transient,
Expand Down
1 change: 1 addition & 0 deletions sqlalchemy-stubs/orm/session.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,4 @@ class sessionmaker(_SessionClassMethods):
def make_transient(instance) -> None: ...
def make_transient_to_detached(instance) -> None: ...
def object_session(instance): ...
def close_all_sessions() -> None: ...