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

ENH - make get_next a regular solver method #566

Merged
merged 8 commits into from Jun 28, 2023

Conversation

Badr-MOUFAD
Copy link
Member

This enables accessing solvers parameters and attributes by making get_next a regular method instead of staticmethod

closes #564

@Badr-MOUFAD
Copy link
Member Author

Do you think it is worth going through a deprecation cycle for this as it is used extensively in benchmarks?

Any thoughts @tomMoral @mathurinm?

Copy link
Member

@tomMoral tomMoral left a comment

Choose a reason for hiding this comment

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

LGTM up to a nitpick

@mathurinm
Copy link
Contributor

@Badr-MOUFAD can you add a whatsnew entry before we merge ?

doc/whats_new.rst Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

Codecov Report

Merging #566 (5ab5f6c) into main (45e3aab) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main     #566      +/-   ##
==========================================
- Coverage   54.14%   54.09%   -0.06%     
==========================================
  Files          43       43              
  Lines        2833     2834       +1     
  Branches      517      518       +1     
==========================================
- Hits         1534     1533       -1     
- Misses       1184     1185       +1     
- Partials      115      116       +1     

@mathurinm mathurinm merged commit dbdce26 into benchopt:main Jun 28, 2023
14 checks passed
@Badr-MOUFAD Badr-MOUFAD deleted the regular-get_next branch June 29, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEAT - change get_next to a regular method instead of `staticmethod
4 participants