Hello, I am trying to develop an 'interactive' wo...
# ask-the-community
a
Hello, I am trying to develop an 'interactive' workflow that waits for an external input. Flyte allows me to build this pipeline with the
wait_for_input
method. My question is, can I enable the users to upload a let say a json file through the
wait_for_input
method?
v
I tried passing a FlyteFile to the wait_for_input’s _expected_type arg,_ and looks like while this may be technically possible, it is not supported yet by Flyte Console
You can have your user upload it to a storage service and then provide the path to the file as
str
so the next tasks know where to download it from
a
ah yes that will be one work around. Thanks Victor! It would be quite cool if we can upload a file from Flyte console!
v
Looks like there’s work in progress for supporting file uploads as launchplan parameters in Flyte Console: https://github.com/flyteorg/flyte/issues/3317 Would this also work for your use case?
a
Definitely! This is gonna work for my use case
150 Views