jazzband / jsonmodels

jsonmodels is library to make it easier for you to deal with structures that are converted to, or read from JSON.
http://jsonmodels.readthedocs.org/en/latest/
BSD 3-Clause "New" or "Revised" License
335 stars 51 forks source link

Added 'Value' validator #52

Closed AntonioAngelino closed 9 years ago

AntonioAngelino commented 9 years ago

Value validator is useful if you need to check a field value over a list of allowed values.

beregond commented 9 years ago

Also history entry is missing - use pyhistory to add entry.

beregond commented 9 years ago

But anyway thanks - if you fix everything I will try to release new version with that asap :)

AntonioAngelino commented 9 years ago

Hi beregond, thank you for your annotations, I started working fulltime with Python three months ago and I'm still struggling with PEP8 & Co (and I used my tablet yesterday to fix online the files, not a good idea...). I'll fix the code when I came back home this evening. ;)

beregond commented 9 years ago

@AntonioAngelino - no problem, take your time :)

beregond commented 9 years ago

You had enough time, I think ;)