Hi everyone,
I ran into the issue that
@dynamic
workflows are not shown in the flyteconsole after registration.
This example works just fine
from flytekit import task, dynamic, workflow
@task
def mytask() -> str:
return "Hello"
@workflow
def test_workflow() -> None:
greeting = mytask()
print(greeting)
if __name__ == "__main__":
test_workflow()
However, this one does not
from flytekit import task, dynamic, workflow
@task
def mytask() -> str:
return "Hello"
@dynamic
def test_workflow_dynamic() -> None:
greeting = mytask()
print(greeting)
if __name__ == "__main__":
test_workflow_dynamic()
I can serialize and register without any errors. But after registration there is no 'test_workflow_dynamic' in the flyteconsole.
Does anyone have an idea what could cause this issue?
I am on flytekit 1.8.1 and flyte-binary 1.6.