Join Slack
Powered by
This should hopefully be an easy one: how can I ge...
# flyte-support
a
adamant-balloon-31283
12/12/2022, 3:02 PM
This should hopefully be an easy one: how can I get the node to task name mapping from a workflow, given only the workflow python code? For example,
n0 -> taskA
,
n1 -> taskB
, etc
t
tall-lock-23197
12/12/2022, 4:36 PM
Do you mean to say, set the node name? You can use `with_overrides()`:
https://github.com/flyteorg/flytekit/blob/c3d54b1867e597c9a8846ee552d9b974f11ae0bd/tests/flytekit/unit/remote/test_calling.py#L56
.
a
adamant-balloon-31283
12/12/2022, 8:51 PM
That's not quite what I was thinking, but now that I think about it that should do the trick for me. Thank you!
158
Views
Open in Slack
Previous
Next