jolly-florist-66728
10/01/2024, 3:38 PMNodes view in flyte?
Context: https://github.com/flyteorg/flyte/issues/5265
# Answer
Node names in the Nodes view in Flyte are set using the with_overrides method in Flytekit. This method allows you to override the default node names with more meaningful names. However, there are known issues where the overridden names do not always display correctly in the Nodes view, even though they appear correctly in the graph view.
For example, you can set node names like this:
@task
def some_task(val: str):
print(val)
@workflow
def wf():
some_task(val="example").with_overrides(node_name="custom_node_name")
According to this GitHub issue, the graph view correctly shows the new task name, but the node view does not always reflect these changes. This discrepancy is likely due to limitations or bugs in how Flyte's console handles node name overrides.
Would you like more details on how to handle node name overrides or any other aspect of Flyte?
Sources:
- this GitHub issue
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1727797064.361009 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.