We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 149fc2e commit 8904b05Copy full SHA for 8904b05
sqlalchemy-stubs/orm/scoping.pyi
@@ -1,13 +1,15 @@
1
from typing import Any
2
from typing import Optional
3
4
+from ..orm import Session
5
+
6
class scoped_session:
7
session_factory: Any = ...
8
registry: Any = ...
9
def __init__(
10
self, session_factory: Any, scopefunc: Optional[Any] = ...
11
) -> None: ...
- def __call__(self, **kw: Any): ...
12
+ def __call__(self, **kw: Any) -> Session: ...
13
def remove(self) -> None: ...
14
def configure(self, **kwargs: Any) -> None: ...
15
def query_property(self, query_cls: Optional[Any] = ...): ...
0 commit comments