You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nested field documentation says that the default parameter may be used to serialize None values: :param default: Default value to if attribute is missing or None
However, this does not correspond to reality: default values are only used to serialize missing fields. And it seems that there is no way to make the default value be used for serialization of None values — by fine-tuning the field parameters, at least.
The text was updated successfully, but these errors were encountered:
Nested
field documentation says that thedefault
parameter may be used to serializeNone
values::param default: Default value to if attribute is missing or None
However, this does not correspond to reality:
default
values are only used to serialize missing fields. And it seems that there is no way to make thedefault
value be used for serialization ofNone
values — by fine-tuning the field parameters, at least.The text was updated successfully, but these errors were encountered: