-
Notifications
You must be signed in to change notification settings - Fork 66
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
No objects called for_jsonschema and from_jsonschema in schematics.serialize #119
Comments
Noticed the same thing: Traceback (most recent call last): |
Looks like this same functionality is done here: https://github.com/j2labs/dictshield/blob/master/dictshield/document.py def _to_fields and in def to_json I would imagine they would work a similar way. I hope this issue gets fixed soon. |
Actually, I don't even think this import is needed any more |
I found the above two functions at |
I created a pull request to add this back in for schematics, I also have a version of schematics working with this in my branch, if you install this version of schematics it shouldn't complain: |
In
request_handling.py
on line 58from schematics.serialize import for_jsonschema, from_jsonschema
but
the
schematics.serialize
module athttps://github.com/j2labs/schematics/blob/master/schematics/serialize.py
do not contain any object namedfor_jsonschema
orfrom_jsonschema
. Alsofrom_jsonschema
is unused in therequest_handling
moduleThe text was updated successfully, but these errors were encountered: