@overload
def __init__(
- self: async_sessionmaker[AsyncSession],
- bind: Optional[_AsyncSessionBind] = None,
+ self: "async_sessionmaker[AsyncSession]",
+ bind: Optional[_AsyncSessionBind] = ...,
*,
- autoflush: bool = True,
- expire_on_commit: bool = True,
- info: Optional[_InfoType] = None,
+ autoflush: bool = ...,
+ expire_on_commit: bool = ...,
+ info: Optional[_InfoType] = ...,
**kw: Any,
):
...
self,
bind: Optional[_AsyncSessionBind],
class_: Type[_AS], # type: ignore
- autoflush: bool = True,
- expire_on_commit: bool = True,
- info: Optional[_InfoType] = None,
+ autoflush: bool = ...,
+ expire_on_commit: bool = ...,
+ info: Optional[_InfoType] = ...,
**kw: Any,
):
...
bind: Optional[_AsyncSessionBind] = ...,
*,
class_: Type[_AS], # type: ignore
- autoflush: bool = True,
- expire_on_commit: bool = True,
- info: Optional[_InfoType] = None,
+ autoflush: bool = ...,
+ expire_on_commit: bool = ...,
+ info: Optional[_InfoType] = ...,
**kw: Any,
):
...