https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Albert Wibowo

06/27/2023, 12:50 PM
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

Victor Churikov

06/27/2023, 1:47 PM
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

Albert Wibowo

06/27/2023, 1:59 PM
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

Victor Churikov

06/27/2023, 2:05 PM
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

Albert Wibowo

06/27/2023, 2:11 PM
Definitely! This is gonna work for my use case
73 Views