Following are major changes from v0. For using >= v1.0.0 your codebase needs to be adopted. Check for the latest documentation here
st_flowis the new streamlit ui which replacesst_barfi. Refer to the new API to add interfaces and options here- All objects are typed as dataclasses and not as
dict. This applies toBlock,FlowSchema,SchemaManager,ComputeEngineand the return fromst_flowwhich isStreamlitFlowResponse. FlowSchemais the object that now contains all the information about the schemasm the connections and blocks referred.barfi.flow.blocknow contains all theBlockmodule scripts. Refer to the new API to add interfaces and options herebarfi.flow.schemacontains theSchemaManagerwhich will be used to save, load, update, delete schemas.Refer to the new API to add interfaces and options herebarfi.flow.computecontains theComputeEnginewhich will be used to execute theFlowSchema. Refer to the new API to add interfaces and options here- This version also introduces some types, and will henceforth the library will be typed. Refer to the types here
- The UI Flow Editor has now been migrated to use React instead of Vue. And, makes use of ReactFlow as the rendering component for the flows.