(Re)configure the arguments for this async_sessionmaker. e.g.:: AsyncSession = async_sessionmaker(some_engine) AsyncSession.configure(bind=create_async_engine("sqlite+aiosqlite://"))
(self, **new_kw: Any)
| 1761 | return self.class_(**local_kw) |
| 1762 | |
| 1763 | def configure(self, **new_kw: Any) -> None: |
| 1764 | """(Re)configure the arguments for this async_sessionmaker. |
| 1765 | |
| 1766 | e.g.:: |
| 1767 | |
| 1768 | AsyncSession = async_sessionmaker(some_engine) |
| 1769 | |
| 1770 | AsyncSession.configure(bind=create_async_engine("sqlite+aiosqlite://")) |
| 1771 | """ # noqa E501 |
| 1772 | |
| 1773 | self.kw.update(new_kw) |
| 1774 | |
| 1775 | def __repr__(self) -> str: |
| 1776 | return "%s(class_=%r, %s)" % ( |