Open lovesh opened 11 years ago
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:
In
request_handling.py
on line 58from schematics.serialize import for_jsonschema, from_jsonschema
but theschematics.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
module