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
The problem is that the fields are present alternatively: either field_1 or field_2, etc.
If you're interested, this is the Amazon Alexa API answer (xml):
<aws:ContentData>
<aws:DataUrltype="canonical">example.com/</aws:DataUrl>
<aws:LinksInCount/> <!-- This field is defined in the API request and can be different -->
</aws:ContentData>
I have scheme like this:
I have many fields with different types in
ContentData
.I don't want to explicitly list the field names in
post_load
.Is there a way to define a default value (when None) in the field itself?
Or is it possible to get the type of a field in
post_load
?The text was updated successfully, but these errors were encountered: