(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)
| 1821 | return self.class_(**local_kw) |
| 1822 | |
| 1823 | def configure(self, **new_kw: Any) -> None: |
| 1824 | """(Re)configure the arguments for this async_sessionmaker. |
| 1825 | |
| 1826 | e.g.:: |
| 1827 | |
| 1828 | AsyncSession = async_sessionmaker(some_engine) |
| 1829 | |
| 1830 | AsyncSession.configure(bind=create_async_engine("sqlite+aiosqlite://")) |
| 1831 | """ # noqa E501 |
| 1832 | |
| 1833 | self.kw.update(new_kw) |
| 1834 | |
| 1835 | def __repr__(self) -> str: |
| 1836 | return "%s(class_=%r, %s)" % ( |