<#535 [BUG] Better error msg when re-registering a...
# flyte-github
c
#535 [BUG] Better error msg when re-registering an identical node in a workflow Issue created by katrogan Describe the bug Currently if a user programmatically re-adds an existing node to a workflow, the reported error message isn't particularly clear:
flytekit.common.exceptions.user.FlyteAssertion: Some nodes contained in the workflow were not found in the workflow description. Please ensure all nodes are either assigned to attributes within the class or an element in a list, dict, or tuple which is stored as an attribute in the class.
Expected behavior It should be apparent what the underlying issue is Flyte component • Overall • Flyte Setup and Installation scripts • Flyte Documentation • Flyte communication (slack/email etc) • FlytePropeller • FlyteIDL (Flyte specification language) • Flytekit (Python SDK) • FlyteAdmin (Control Plane service) • FlytePlugins • DataCatalog • FlyteStdlib (common libraries) • FlyteConsole (UI) • Other To Reproduce Steps to reproduce the behavior: 1. ... 2. ... Screenshots If applicable, add screenshots to help explain your problem. Environment Flyte component • Sandbox (local or on one machine) • Cloud hosted • AWS • GCP • Azure • Baremetal • Other Additional context Add any other context about the problem here. flyteorg/flyte