hamilton icon indicating copy to clipboard operation
hamilton copied to clipboard

Expose default values in `HamiltonNode`

Open elijahbenizzy opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. We have optional_dependencies but its just a set. We don't expose it.

Describe the solution you'd like We should have a default_values field or something like that. Dict[str, Any].

Describe alternatives you've considered People can inspect the function -- see https://github.com/DAGWorks-Inc/hamilton/blob/main/hamilton/plugins/h_experiments/hook.py for instance.

Additional context Feature request from OS. This is tricky as we don't capture it, but should be possible with a bit of rewiring.

elijahbenizzy avatar Feb 22 '24 15:02 elijahbenizzy

relates to #495

zilto avatar Mar 03 '24 19:03 zilto