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

Remove broken replace_kw from ResdataFile #971

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

eivindjahren
Copy link
Collaborator

@eivindjahren eivindjahren commented Apr 23, 2024

This function referenced the field data_owner from
ResdataKW which is never set, except after the lookup
and then it is set to False.

The only possible outcome of calling the function is
AttributeError so we are only removing undefined behavior
in terms of semver.

Also removes deprecated functions:
These functions have thrown NotImplementedError for a long
time so it should now be considered removing undefined
behavior in terms of semver.

This function referenced the field data_owner from
ResdataKw which is never set, except after the lookup
and then it is set to False.

The only possible outcome of calling the function is
AttributeError so we are only removing undefined behavior
in terms of semver.
@eivindjahren eivindjahren changed the title Remove broken replace kw Remove broken replace_kw from ResdataFile Apr 23, 2024
These functions have thrown NotImplementedError for a long
time so it should now be considered removing undefined
behavior in terms of semver.
Copy link

@yngve-sk yngve-sk left a comment

Choose a reason for hiding this comment

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

Very cool💯

@eivindjahren eivindjahren merged commit a8fdcf3 into main Apr 23, 2024
18 checks passed
@eivindjahren eivindjahren deleted the remove_broken_replace_kw branch April 23, 2024 11:28
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.

2 participants