Closed hdantas closed 8 years ago
Ok, thanks for feedback - I'll look into this closer.
Fixed in d9f558f
@hdantas so it was fixed - it is already on master branch, if you need it asap. It will be released soon with 2.1, hopefully in few days - I'll inform you in this ticket about it :)
Great, thanks for your efforts :+1:
@hdantas already available through PyPI as 2.1.
I'm unable to instantiate models with ListFields that accept more than one type. For the example below I get the following exception:
I'm running the version 2.0.1 of jsonmodels, on Python 2.7.10, OS X 10.11 If I comment line 218 on
fields.py
everything appears to work correctly, basically removing the call toself._check_items_types_count()
. I might be missing something but don't really understand why you're checking if thelen
ofitems_types
is one.Here is the complete code to reproduce the issue described: