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

Re-validate default when Parameter type changes on subclass #812

Merged
merged 4 commits into from
Aug 2, 2023

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Aug 2, 2023

This PR re-validates the Parameter default if you override the Parameter type on a subclass to a more specific or completely different type. Technically it should also re-validate when certain slot values change but I wanted to start with a more limited change.

param/parameterized.py Outdated Show resolved Hide resolved
@philippjfr philippjfr requested review from maximlt and jbednar August 2, 2023 08:17
@philippjfr philippjfr merged commit 94bf71a into main Aug 2, 2023
@philippjfr philippjfr deleted the revalidate_default branch August 2, 2023 15:26
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