a

    alvin goh

    2 years ago
    Hi, I've noticed that when a mapped task in a flow is skipped or failed, flow.visualize() fails with an error about the task not having mapped_states. Is this a design decision to not generate visualisation for failed mapped tasks?
    Chris White

    Chris White

    2 years ago
    Hi @alvin goh - this sounds like a bug to me! Would you mind opening an issue on github with a reproducible example?
    j

    josh

    2 years ago
    a

    alvin goh

    2 years ago
    @josh yes that's the same thing, sorry for not checking the issues. Any ETA on this? Seems like a Boolean check can be used to check if the mapped tasks are not failed or skipped before enumerating over them
    Chris White

    Chris White

    2 years ago
    This should be a simple fix - I’ll tackle it later this evening or tomorrow and let you know!
    @alvin goh - PR to fix this issue is here: https://github.com/PrefectHQ/prefect/pull/1782
    a

    alvin goh

    2 years ago
    Ok, thanks!