Create a viewstate resulting from converting the View to XML & in-mem B64 files
(app_or_view: t.Union[dp.Blocks, dp.App])
| 36 | |
| 37 | |
| 38 | def _view_to_xml_and_files(app_or_view: t.Union[dp.Blocks, dp.App]) -> ViewState: |
| 39 | """Create a viewstate resulting from converting the View to XML & in-mem B64 files""" |
| 40 | s = ViewState(blocks=app_or_view, file_entry_klass=B64FileEntry) |
| 41 | return Pipeline(s).pipe(PreProcessView()).pipe(ConvertXML()).state |
| 42 | |
| 43 | |
| 44 | def assert_view( |
no test coverage detected