johnnoone/json-spec

PkgProvider not fully implemented

Closed this issue · 3 comments

misja commented

PkgProvider isn't fully implemented, missing __iter__ and __len__, which makes it impossible to pass to the validator Factory. My question is if this was done on purpose, encouraging to subclass and implement or if a pull request would be appreciated?

It's a forgetting. I've pushed a new package to pypi (https://pypi.python.org/pypi/json-spec/0.9.13a1).
Can you try it and tell me if it's working? In which I will release a stable one.

misja commented

Perfect, thanks - can confirm it's working :)