Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose default values in HamiltonNode #710

Open
elijahbenizzy opened this issue Feb 22, 2024 · 1 comment
Open

Expose default values in HamiltonNode #710

elijahbenizzy opened this issue Feb 22, 2024 · 1 comment

Comments

@elijahbenizzy
Copy link
Collaborator

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.

@zilto
Copy link
Collaborator

zilto commented Mar 3, 2024

relates to #495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants