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

Fixed List validation #494

Merged
merged 3 commits into from
Jun 27, 2021
Merged

Fixed List validation #494

merged 3 commits into from
Jun 27, 2021

Conversation

jbednar
Copy link
Member

@jbednar jbednar commented Jun 27, 2021

Fixed validation for List parameters, which was broken in bf3d324 because the new _validate_bounds() and _validate_item_type() methods weren't called by the default implementation of _validate(). Closes #491.

@jbednar jbednar added this to the v1.10.2 milestone Jun 27, 2021
@jbednar jbednar requested a review from philippjfr June 27, 2021 22:38
@jbednar jbednar merged commit 249e96f into master Jun 27, 2021
@jbednar jbednar deleted the list_validation branch June 27, 2021 22:39
"""
Checks that the value is numeric and that it is within the hard
bounds; if not, an exception is raised.
"""
Copy link
Member Author

Choose a reason for hiding this comment

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

Oops; left a useless docstring in from where I copied this. I'll delete in a later PR.

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.

param.List doesn't respect bounds and class_
1 participant