Skip to content

Commit 158ee15

Browse files
authored
Add missing **kw argument to orm.sessionmaker. Fixes #84 (#85)
1 parent 0a17665 commit 158ee15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sqlalchemy-stubs/orm/session.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ class sessionmaker(_SessionClassMethods, Generic[_TSessionMakerType]):
552552
autocommit: bool = ..., # NOTE: Deprecated.
553553
expire_on_commit: bool = ...,
554554
info: Optional[Mapping[Any, Any]] = ...,
555+
**kw: Any,
555556
) -> None: ...
556557
@overload
557558
def __init__(
@@ -590,6 +591,7 @@ class sessionmaker(_SessionClassMethods, Generic[_TSessionMakerType]):
590591
autocommit: bool = ..., # NOTE: Deprecated.
591592
expire_on_commit: bool = ...,
592593
info: Optional[Mapping[Any, Any]] = ...,
594+
**kw: Any,
593595
) -> None: ...
594596
@overload
595597
def __init__(

0 commit comments

Comments
 (0)