Closed daggy1234 closed 2 years ago
I can't repro this. What version of asyncpg are you using?
Judging by https://github.com/MagicStack/asyncpg/commit/0e0eb8d35e4804f681ebac4bc0e77a538d0f4fea, this was changed in the 0.22.0 tree, nearly 2 years ago. We're currently on 0.26.0, so your asyncpg is out of date by quite a bit. I'll merge this anyway since it doesn't break the current version and extends compatibility.
Rationale
There is an error in the importing of
Pool
from asyncpg as it is asyncpg.pool.Pool.Currently an error is produced
Summary of changes made
Simply switched the import. https://magicstack.github.io/asyncpg/current/api/index.html?highlight=pool#asyncpg.pool.Pool
Checklist