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

Support optional fit and produce args and arg defaults #95

Closed
csala opened this issue Jul 12, 2019 · 0 comments · Fixed by #99
Closed

Support optional fit and produce args and arg defaults #95

csala opened this issue Jul 12, 2019 · 0 comments · Fixed by #99
Assignees
Milestone

Comments

@csala
Copy link
Contributor

csala commented Jul 12, 2019

The current parsing of fit and produce args requires all the arguments to always exist inside the pipeline context.

Two new keywords should be added inside the arg specification dictionary to make this behavior more flexible:

  • default: a default value to pass to the method if the variable is not found in the pipeline context.
  • required: if set to False and the variable is not found in the pipeline context, do not pass it to the method. This will be True by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant