Following are major changes from v0. For using >= v1.0.0 your codebase needs to be adopted. Check for the latest documentation here
st_flow
is 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
,ComputeEngine
and the return fromst_flow
which isStreamlitFlowResponse
. FlowSchema
is the object that now contains all the information about the schemasm the connections and blocks referred.barfi.flow.block
now contains all theBlock
module scripts. Refer to the new API to add interfaces and options herebarfi.flow.schema
contains theSchemaManager
which will be used to save, load, update, delete schemas.Refer to the new API to add interfaces and options herebarfi.flow.compute
contains theComputeEngine
which 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.