We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I was wondering if it is posible to import <class 'Record'> for type checking.
I'm trying to write a Custom json.JSONEncoder and would want to be able to do a check like:
json.JSONEncoder
if isinstance(obj, Record): pass
Open to other ways to handle this as well. I assume Record is currently not importable because it's part of the C extension part.
The text was updated successfully, but these errors were encountered:
Make the Record type available as asyncpg.Record.
34189c1
Fixes: #93.
afd10fb
df833f9
671ff4a
5940b46
d42608f
elprans
No branches or pull requests
I was wondering if it is posible to import <class 'Record'> for type checking.
I'm trying to write a Custom
json.JSONEncoder
and would want to be able to do a check like:Open to other ways to handle this as well. I assume Record is currently not importable because it's part of the C extension part.
The text was updated successfully, but these errors were encountered: