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

Introduce kwargs in estimate_costs #173

Merged
merged 6 commits into from
Sep 16, 2024
Merged

Conversation

mcucchi9
Copy link
Contributor

@mcucchi9 mcucchi9 commented Jul 8, 2024

This PR introduce **kwargs in both AbstractAdaptor and AbstractCdsAdaptor's estimate_costs method.
The ratio is to let developers introduce new parameters in methods of child adaptor classes without the need to accordingly update the signature of correspondent methods in parent class.

Needed by

@mcucchi9 mcucchi9 requested review from malmans2 and EddyCMWF July 8, 2024 08:22
@mcucchi9 mcucchi9 self-assigned this Jul 8, 2024
@mcucchi9 mcucchi9 changed the title [WIP] Introduce kwargs in estiamte_costs [WIP] Introduce kwargs in estimate_costs Jul 8, 2024
Copy link
Member

@malmans2 malmans2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DummyAdaptor (Line 159) needs the same change

@mcucchi9 mcucchi9 changed the title [WIP] Introduce kwargs in estimate_costs Introduce kwargs in estimate_costs Sep 4, 2024
Copy link
Contributor

@EddyCMWF EddyCMWF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just make sure any conflicts are addressed with #202 are addresses when merging.

@mcucchi9 mcucchi9 merged commit 67bc5b6 into main Sep 16, 2024
9 checks passed
@mcucchi9 mcucchi9 deleted the COPDS-1713-max-portal-costs branch September 16, 2024 08:55
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.

3 participants