Tommy Nam
09/27/2023, 9:40 AMpyflyte run
commands, you can specify a --envs
flag and pass in a Python dict to propagate variables to the container running the workflows/tasks.
like so: pyflyte run --envs {"var1":"hello","var2":"world"} --image etcetcetc workflowfile
----
What would be the equivalent mode of passing an --env
like dictionary In the context of pyflyte register
and pyflyte launchplan
?
Context being:
pyflyte register -p flytesnacks --image imagename:1.0.5 --version v0.0.2a ./workflow.py
And/or
pyflyte launchplan -p flytesnacks -d staging launchplan-name v0.0.1a --activate
We see some docs about default and fixed inputs but are not sure if this is the exact same thingYee
Tommy Nam
09/28/2023, 3:08 AM