MagicStack / asyncpg

A fast PostgreSQL Database Client Library for Python/asyncio.
Apache License 2.0
6.99k stars 404 forks source link

Return types annotations when #1201

Open deadafaccount opened 2 weeks ago

deadafaccount commented 2 weeks ago
conn = await asyncpg.connect(
    user=os.getenv("DB_USER"),
    password=os.getenv("DB_USER_PASSWORD"),
    database=os.getenv("DB_NAME"),
    host=os.getenv("DB_HOST")
)  # None type

conn.cursor()  # None type