Skip to content
New issue

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

Import Record Class #93

Closed
jamesstidard opened this issue Mar 24, 2017 · 0 comments
Closed

Import Record Class #93

jamesstidard opened this issue Mar 24, 2017 · 0 comments
Assignees

Comments

@jamesstidard
Copy link

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:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants