<@U06RKAMK0UC> how do I pass a list of integers to...
# ask-ai
b
@ancient-wolf-19325 how do I pass a list of integers to pyflyte workflow
a
To pass a list of integers to a Flyte workflow using
pyflyte
, you can use the
--remote
flag along with the workflow inputs as additional options. Here's an example:
Copy code
pyflyte run --remote https://raw.githubusercontent.com/flyteorg/flytesnacks/master/examples/basics/basics/workflow.py simple_wf --x '[-3,0,3]' --y '[7,4,-2]'
In this example,
--x '[-3,0,3]'
and
--y '[7,4,-2]'
are the lists of integers being passed to the
simple_wf
workflow. Would you like more details on this process? Sources: - Environment setup 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.