Slackbot
10/23/2023, 3:40 AMElijah Ben Izzy
10/23/2023, 3:49 AMdriver.validate
call. Currently we do it internally with two lines (I think this should be complete, but worth a try on your case to double-check).
nodes, user_nodes = driver.graph.get_upstream_nodes(final_vars, inputs, overrides)
Driver.validate_inputs(fn_graph, adapter, user_nodes, inputs, nodes)
Feel free to wrap this in a function for now, even though it uses internal APIs. Otherwise, I just opened this and it should be a pretty easy addition: https://github.com/DAGWorks-Inc/hamilton/issues/484.Elijah Ben Izzy
10/23/2023, 3:50 AMMichael Chmutov
10/23/2023, 1:27 PMElijah Ben Izzy
10/23/2023, 10:48 PMpip install git+<https://github.com/dagworks-inc/hamilton.git@visualize_execution#egg=sf-hamilton>
(I think — I’m a bit bad at remembering this incantation, but it should just work).
If you need it sooner, happy to do a mid-week release!