We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? No Sign in to your account
I want to add the Pool class to the public API. This can be useful and convenient for type annotations.
Pool
Now it is done like this:
import attr from asyncpg.pool import Pool @attr.s(slots=True, frozen=True, auto_attribs=True) class CompanyRepository: pool: Pool async def find(self, company_id: UUID) -> Optional[Company]: pass
I suggest adding this feature:
import attr import asyncpg @attr.s(slots=True, frozen=True, auto_attribs=True) class CompanyRepository: pool: asyncpg.Pool async def find(self, company_id: UUID) -> Optional[Company]: pass
The text was updated successfully, but these errors were encountered:
Seems reasonable. Please send a pull request.
Sorry, something went wrong.
0e0eb8d
No branches or pull requests
I want to add the
Pool
class to the public API. This can be useful and convenient for type annotations.Now it is done like this:
I suggest adding this feature:
The text was updated successfully, but these errors were encountered: