Please teach how to do Table(autoload=True) or metadata.reflect() with asyncpgsa properly.
Tried passing reflect(bind=asyncpgsa_connection) and it's AttributeError game: needs connect then dialect, I feel like it's going in wrong direction.
People use psycopg2 to create sqlalchemy engine and then async driver for normal work. That may work if reflection doesn't use driver specifics. I'll use that crutch if nothing else works.
Can you create sqlalchemy Engine with asyncpgsa?
Please teach how to do
Table(autoload=True)ormetadata.reflect()with asyncpgsa properly.Tried passing
reflect(bind=asyncpgsa_connection)and it's AttributeError game: needs connect then dialect, I feel like it's going in wrong direction.People use psycopg2 to create sqlalchemy engine and then async driver for normal work. That may work if reflection doesn't use driver specifics. I'll use that crutch if nothing else works.
Can you create sqlalchemy Engine with asyncpgsa?