Summary
The user inquires about executing a file that defines a workflow with the command pyflyte run
, while passing arguments. They note that for an imperative workflow, it should work, but the module load must yield the workflow, necessitating that arguments be set as environment variables. Alternatively, they suggest using Flyte remote.
denis.shvetsov
Ok, I think I started to understand the problem
denis.shvetsov
> It should work, but module load should result in the workflow. So the arguments will have to env vars
You mean I need to pass arguments as environment variable, and not through argparse.ArgumentParser
?
kumare
Else use Flyte remote
kumare
You want imperative workflow? It should work, but module load should result in the workflow. So the arguments will have to env vars
denis.shvetsov
Hi, if I have a file that takes some arguments, and defines a workflow. Am I able to run it with pyflyte run
and pass these arguments there?