Channels
datahub-flyte
scipy-2023-workshop
flyte-school
agent-support-memverge
flyte-build
flyte-users-berlin
scipy-2023-sprint
auth
flyte-bazel
large-language-models
contribute
bioinformatics-computational-biology
great-content
in-flyte-conversations
flyte-on-gcp
show-and-tell
shameless-promotion
linkedin-flyte
random
deployment
hacktoberfest-2023
flyte-github
feature-discussions
linen-test
flytelab
flytekit-java
integrations
ray-on-flyte
conference-talks
release
flyte-ui-ux
workflow-building-ui-proj
writing-w-sfloris
jobs
hacktoberfest-2022
torch-elastic
flyte-console
engineeringlabs
helsing-flyte
flyte-documentation
konan-integration
databricks-integration
ray-integration
wg-gpu-types
flytekit
ecosystem-unionml
scipy-2022-sprint
announcements
ask-the-community
flyte-deployment
introductions
events
Powered by
#ask-the-community
Title
# ask-the-community
g
George D. Torres
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
s
Samhita Alla
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
.
g
George D. Torres
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!
2 Views
Post