No objects called for_jsonschema and from_jsonschema in schematics.serialize
In request_handling.py on line 58
from schematics.serialize import for_jsonschema, from_jsonschema
but
the schematics.serialize module at https://github.com/j2labs/schematics/blob/master/schematics/serialize.py do not contain any object named for_jsonschema or from_jsonschema. Also from_jsonschema is unused in the request_handling module
Noticed the same thing:
Traceback (most recent call last):
File "./listsurf.py", line 6, in
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 https://github.com/st4lk/schematics/blob/master/schematics/serialize.py
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:
https://github.com/reduxdj/schematics