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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “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? Sign in to your account
Hi,
Databases return Record class instance, and we can get column values by simply specifying column name
Record
record = db.fetch_one(query=query, values=values) print(record.id)
mypy gives the following error: Mypy: "Record" has no attribute "id" [attr-defined]
Mypy: "Record" has no attribute "id" [attr-defined]
Is there a way to set up mypy to work correctly with this use case?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Databases return
Record
class instance, and we can get column values by simply specifying column namemypy gives the following error:
Mypy: "Record" has no attribute "id" [attr-defined]
Is there a way to set up mypy to work correctly with this use case?
The text was updated successfully, but these errors were encountered: