Hello, I am trying to develop an 'interactive' wo...
# flyte-support
f
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?
1
k
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
f
ah yes that will be one work around. Thanks Victor! It would be quite cool if we can upload a file from Flyte console!
k
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?
f
Definitely! This is gonna work for my use case
157 Views