@overload
def __init__(
- self: "async_sessionmaker[AsyncSession]",
- bind: Optional[_AsyncSessionBind] = ...,
- *,
+ self,
+ bind: Optional[_AsyncSessionBind],
+ class_: Type[_AS],
autoflush: bool = ...,
expire_on_commit: bool = ...,
info: Optional[_InfoType] = ...,
@overload
def __init__(
self,
- bind: Optional[_AsyncSessionBind],
+ bind: Optional[_AsyncSessionBind] = ...,
+ *,
class_: Type[_AS],
autoflush: bool = ...,
expire_on_commit: bool = ...,
...
@overload
def __init__(
- self,
+ self: "async_sessionmaker[AsyncSession]",
bind: Optional[_AsyncSessionBind] = ...,
*,
- class_: Type[_AS],
autoflush: bool = ...,
expire_on_commit: bool = ...,
info: Optional[_InfoType] = ...,