desert
desert copied to clipboard
Allow deserialization to require a value while not requiring it for instantiation?
It seems at least possible that someone would want to require the value be present when taking it from json but not from Python. Is that what we think this means?:
attr.ib(default=1, metadata={desert._make._DESERT_SENTINEL:{'required': True}})