dh
04/08/2021, 11:22 PMregisterd_flow.run(**runtime_args_passed_by_agent)
Or is this disallowed by design? (registered flow shall be self-sufficient for reproducibility)
Context: we have some flow that depends on some value that changes quite often (e.g. dependency package version number). We don’t want to register a new flow each time we update the version number; rather have one flow and have the agent run the flow expecting the package version information will be provided to it at run time. We thought about using env var, but not sure if it’s the best way…Kevin Kho
Kevin Kho
dh
04/09/2021, 3:33 PMKevin Kho
Kevin Kho
Kevin Kho
dh
04/09/2021, 4:33 PMThe answer to two is No because we don’t keep track of previous code. We only hold metadata.Yes, I understand this is by design and that the flow code (the pickle-serialized flow object) gets stored on FlowStorage which users control not the server. Hence, I presume only metadata is saved even for “the latest” code? Please let me know if my mental model is wrong on this…
Are Parameters insufficient for your use case? You could put those specs as Parameters right?Could you help me understand how the values for
Parameters
should be specified when Agent runs a registered flow pulled from FlowStorage (not users running the flow interactively in which case I know we can pass cli arguments with flow.run(**cli_args)
?
It would be lovely if Agent can do flow.run(**my_dynamic_args)
. where the args can be pulled from somewhere (cli, database, …)dh
04/09/2021, 4:35 PMEach version group can only have one active flow at a timeCould you share if there’s a plan to provide support for logical grouping over flows? (where none of the flows in a group are in archived state; hence executable)
Kevin Kho
Kevin Kho
Kevin Kho
dh
04/13/2021, 1:37 AM