MOE icon indicating copy to clipboard operation
MOE copied to clipboard

[Python] check how colander deals with default and missing fields

Open suntzu86 opened this issue 10 years ago • 0 comments

From my comment on #291

worth double checking how exactly colander deals with the missing= and default= fields in schemas. I think they're copied by reference so that somehow changing the values of schema serialized/deserialized outputs changes the schema (when those fields took the missing or default values). there's a warning about this at the top of schemas.py

suntzu86 avatar Jul 29 '14 19:07 suntzu86