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

Passing parameters to parents of RunnableModel #205

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

rgutzen
Copy link
Contributor

@rgutzen rgutzen commented Mar 9, 2022

Any additional parameters to the Model class are set as params. However, this is not the case for its child class RunnableModel, and therefore can't be used for child classes derived from it. To handle parameter input consistently they should be passed all the way up to the Model class. So, this PR adds **params to the RunnableModel init and to its super call.

Any additional parameters to the Model class are set as `params`. However, this is not the case for its child class RunnableModel, and therefore can't be used for child classes derived from it. To handle parameter input consistently they should be passed all the way up to the Model class. So, this PR adds `**params` to the RunnableModel init and to its super call.
@rgerkin rgerkin merged commit 0c2b13b into scidash:master Mar 9, 2022
@rgerkin
Copy link
Contributor

rgerkin commented Mar 9, 2022

@rgutzen Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants