Hi Flyte team, we're using `with_overrides(name)` ...
# ask-the-community
s
Hi Flyte team, we're using
with_overrides(name)
to change the name of a task and notice: • The graph view shows the new task name • But the node view doesn’t We're on the latest flytekit (
1.11.0
). Has anyone experienced something similar, is this a known UI bug? Code in 🧵.
Copy code
@typed_task
@log_info
def make_test_dc(name: str, path: str, subfield: str, subpath: str) -> OuterDC:
    return OuterDC(name=name, path=path, inner_dc=InnerDC(subfield=subfield, subpath=subpath))


@typed_task
@log_info
def extract_subpath(dc: OuterDC, simple_list: List[str]) -> str:
    import flytekit

    print(f"flytekit version: {flytekit.__version__}")
    return dc.inner_dc.subpath


@typed_workflow
@log_info
def wf(
    name: str = "name",
    path: str = "path",
    subfield: str = "subfield",
    subpath: str = "subpath",
) -> str:
    dc = make_test_dc(name=name, path=path, subfield=subfield, subpath=subpath).with_overrides(
        name="make_test_dc_renamed"
    )
    return extract_subpath(dc=dc, simple_list=["a", "b", "c"])
cc @Archit Rathore
d
@Sherwyn Dsouza I just reproduced this behavior with a simple example. Would you mind filing a new Issue?
s
Thanks @David Espejo (he/him), filed this issue here.