Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | establish sessionmaker and async_sessionmaker as generic | Mike Bayer | 2022-05-31 | 1 | -7/+4 |
| | | | | | | | | | | | This is so that custom Session and AsyncSession classes can be typed for these factories. Added appropriate typevars to `__call__()`, `__enter__()` and other methods so that a custom Session or AsyncSession subclass is carried through. Fixes: #7656 Change-Id: Ia2b8c1f22b4410db26005c3285f6ba3d13d7f0e0 | ||||
* | add asyncio.gather() example; add connection opts | Mike Bayer | 2021-09-02 | 1 | -0/+118 |
while I dont like this approach very much, people will likely be asking for it a lot, so represent the most correct and efficient form we can handle right now. Added missing ``**kw`` arguments to the :meth:`_asyncio.AsyncSession.connection` method. Change-Id: Idadae2a02a4d96ecb96a5723ce64d017ab4c6217 References: https://github.com/sqlalchemy/sqlalchemy/discussions/6965 |