Ena Škopelja
03/10/2023, 2:43 PMwait_for_input
gate node with a dummy workflow:
from datetime import timedelta
from flytekit import wait_for_input, workflow, task
@task
def list_folders(additional_choice: str) -> list[str]:
choices = ['a', 'b', 'c', additional_choice]
print(f'Choices: {choices}')
return choices
@task
def chosen_folder(choice: str) -> str:
print(f'chose {choice}')
return choice
@workflow
def gating_demo(additional_choice: str):
choices = list_folders(additional_choice=additional_choice)
choice = wait_for_input("choose-folder", timeout=timedelta(hours=1), expected_type=str)
chosen_folder(choice=choice)
choices >> choice
It works locally, but remotely I get an input modal that doesn't allow me to input anything, complaining that: The requested item could not be found
. Am I doing something wrong? The input doesn't seem to be required (no asterisk) but skipping input also doesn't work (same error).Niels Bantilan
03/10/2023, 2:48 PMEna Škopelja
03/10/2023, 2:58 PMNiels Bantilan
03/10/2023, 2:59 PMflytectl demo
clusterEna Škopelja
03/10/2023, 3:29 PMKetan (kumare3)
Dan Rammer (hamersaw)
03/10/2023, 4:15 PMJames Truong
03/10/2023, 4:18 PMEna Škopelja
03/10/2023, 4:25 PMflyte 1.4.0
downgraded my UI to 0.0.10
. To be honest I'm not sure how I ended up with 1.4.1
but deploying by running this:
helm upgrade -n flyte \
-f values-gcp.yaml \
--install \
--version v1.4.0 \
flyte flyteorg/flyte-core
gets me UI v0.0.10
which fixed the problem but I'm not sure it doesn't still exist in the newer UI version or how I can check that.Yee
Eduardo Apolinario (eapolinario)
03/10/2023, 6:15 PMEna Škopelja
03/10/2023, 9:51 PM