You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DeprecationWarning: The Row.keys() method is deprecated to mimic SQLAlchemy behaviour, use Row._mapping.keys() instead. warnings.warn( #833
asyncpg version: 0.24.0
PostgreSQL version:
Do you use a PostgreSQL SaaS? If so, which? Can you reproduce
the issue with a local PostgreSQL install?:
Python version: 3.9.7
Platform: fastapi, sqlalchemy, encode/databases
Do you use pgbouncer?:
Did you install asyncpg with pip?: pipenv
If you built asyncpg locally, which version of Cython did you use?:
Can the issue be reproduced under both asyncio and
uvloop?:
When convert Record instance to dict like this:
dict(item)
got deprecation warning:
DeprecationWarning: The Row.keys() method is deprecated to mimic SQLAlchemy behaviour, use Row._mapping.keys() instead
Can you provide convert api for Record instances?
Landed here from google search for the same DeprecationWarning. For future viewers, encode/databases#447 it is expected to be fixed in databases v0.6.0
Activity
elprans commentedon Nov 7, 2021
This doesn't seem related to asyncpg as the
DeprecationWarningcomes fromdatabases, not from asyncpg.GeekyShacklebolt commentedon May 18, 2022
Landed here from google search for the same DeprecationWarning. For future viewers, encode/databases#447 it is expected to be fixed in
databases v0.6.0