contentful.py
contentful.py copied to clipboard
Embedded videos within rich text fields do not get properly serialized when calling `.raw` on the entry
If an entry has a rich text field, and that rich text field contains an embedded video, calling entry.raw
will result in a JSON object which still contains the embedded Entry
item, rather than recursively calling .raw
on the embedded item as well. This is particularly a problem with JSON serialization as the Entry
type is not serializable.