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

feat: don't override when method could throw #345

Conversation

zzril
Copy link
Contributor

@zzril zzril commented Jun 4, 2023

(Note: This PR is not to be merged into main, but into a feature branch.)

In TaggedTable, don't override those method of Table that could potentially remove the target column.
Instead, introduce new methods that specifically promise to maintain tagging, and throw an exception otherwise.

See also this comment in the original PR.

@zzril zzril changed the title don't override when method could throw feat: don't override when method could throw Jun 4, 2023
zzril added 2 commits June 6, 2023 18:35
…-a-table' into 58b-don-t-override-when-throwing
…-a-table' into 58b-don-t-override-when-throwing
@zzril
Copy link
Contributor Author

zzril commented Jun 9, 2023

Will not implement this, instead change the parent method's signature/docstring to throw the exception. See this comment.

@zzril zzril closed this Jun 9, 2023
@lars-reimann lars-reimann deleted the 58b-don-t-override-when-throwing branch May 20, 2024 13:22
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.

1 participant