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 force-pushed the remove_broken_replace_kw branch from 7474217 to 1efd234 Compare April 23, 2024 10:33
@eivindjahren eivindjahren changed the title Remove broken replace kw Remove broken replace_kw from ResdataFile Apr 23, 2024
@eivindjahren eivindjahren force-pushed the remove_broken_replace_kw branch from 1efd234 to 61e7a91 Compare April 23, 2024 10:45
These functions have thrown NotImplementedError for a long
time so it should now be considered removing undefined
behavior in terms of semver.
@eivindjahren eivindjahren force-pushed the remove_broken_replace_kw branch from 61e7a91 to b8c2e24 Compare April 23, 2024 10:48
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