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
When a ListBlock contains an ImageChooserBlock or a DocumentChooserBlock, function widget_from_block returns {"type": "unknown"} because content_components is None
When a
ListBlock
contains anImageChooserBlock
or aDocumentChooserBlock
, functionwidget_from_block
returns{"type": "unknown"}
becausecontent_components
isNone
Model:
Possible solution:
Add an extra elif statement that checks if the block is an instance of a
ListBlock
andcontent_components
isNone
:The text was updated successfully, but these errors were encountered: