We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
overriding node_name with a name containing underscore causes failure when registering the workflow
node names containing underscore should work
@flytekit.task def task1(x: int) -> str: return str(x) @flytekit.task def task2(x: str) -> str: return x @flytekit.workflow def baby_training_wf() -> str: t1 = task1(x=3).with_overrides(node_name='t_1') return task2(x=t1).with_overrides(node_name='t_2')
registering the above workflow causes:
Failed with Exception: Reason: SYSTEM:Unknown RPC Failed, with Status: StatusCode.INTERNAL details: failed to compile workflow for [resource_type:WORKFLOW project:"flytesnacks" domain:"development" name:"tmp.workflow.baby_training_wf" version:"yXlTbWXJo4nsbhCWJe5PGw==" ] with err failed to compile workflow with err Collected Errors: 4 Error 0: Code: NodeReferenceNotFound, Node Id: t_1, Description: Referenced node [t_1] not found. Error 1: Code: NodeReferenceNotFound, Node Id: t_2, Description: Referenced node [t_2] not found. Error 2: Code: ParameterNotBound, Node Id: end-node, Description: Parameter not bound [o0]. Error 3: Code: ParameterNotBound, Node Id: t-2, Description: Parameter not bound [x].
no error if replace underscore with dash as node_name='t-1' node_name='t-2'
No response
The text was updated successfully, but these errors were encountered:
pingsutw
Successfully merging a pull request may close this issue.
Describe the bug
overriding node_name with a name containing underscore causes failure when registering the workflow
Expected behavior
node names containing underscore should work
Additional context to reproduce
registering the above workflow causes:
no error if replace underscore with dash as node_name='t-1' node_name='t-2'
Screenshots
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: