Iain Duncan
2012-07-27 18:39:40 UTC
Hi, I'm using form encode for validation, and am building a ReST back end
for use with Dojo data stores. the Dojo system wants to be able to use PUT
requests with partial lists of params, and I'm trying to figure out best to
do that. So if I have a schema, and some keys are missing, I want it to
'pass', with the values dictionary as is, rather than having the values
dict have values for the missing keys that come from using if_missing='foo'.
Is there way to do that without resorting to hackery like inspecting the
errors and discarding all the ones that are missing value errors?
thanks
Iain
for use with Dojo data stores. the Dojo system wants to be able to use PUT
requests with partial lists of params, and I'm trying to figure out best to
do that. So if I have a schema, and some keys are missing, I want it to
'pass', with the values dictionary as is, rather than having the values
dict have values for the missing keys that come from using if_missing='foo'.
Is there way to do that without resorting to hackery like inspecting the
errors and discarding all the ones that are missing value errors?
thanks
Iain