Skip to content

v 1.0.0

Latest
Compare
Choose a tag to compare
@krish-adi krish-adi released this 06 Jan 03:57
9c2c45d

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 replaces st_barfi. Refer to the new API to add interfaces and options here
  • All objects are typed as dataclasses and not as dict. This applies to Block, FlowSchema, SchemaManager, ComputeEngine and the return from st_flow which is StreamlitFlowResponse.
  • FlowSchema is the object that now contains all the information about the schemasm the connections and blocks referred.
  • barfi.flow.block now contains all the Block module scripts. Refer to the new API to add interfaces and options here
  • barfi.flow.schema contains the SchemaManager which will be used to save, load, update, delete schemas.Refer to the new API to add interfaces and options here
  • barfi.flow.compute contains the ComputeEngine which will be used to execute the FlowSchema. 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.