Hey guys - is there any way to hide `ValidationRes...
# general
e
Hey guys - is there any way to hide
ValidationResult
nodes from the DAG when calling
visualize_execution()
? I tried passing in
bypass_validation=True
argument but didnt work. here is the code used to generate my dag.
Copy code
dr.visualize_execution(
    final_vars=outputs,
    inputs=inputs,
    bypass_validation=True
)
The returned DAG contains a
{node-name}_raw
and
{node-name}_validator
for each node decorated with a
@check_output
. Ideally I would just like a single
{node_name}
represented in the DAG
e
Hey! Currently I don’t think this is feasible from the standard viz, but the UI has function-level grouping that can solve this. E.g. if you execute it with tracking and run the UI locally you can group by the function that produced it, which will group all the intermediate nodes. See “local mode” here https://hamilton.dagworks.io/en/latest/concepts/ui/
👍 1
Conversely, you can manually edit the dot files (or do so programmatically), it don’t have too much guidance there
e
sounds good thanks!