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

Validate type of param.Boolean default value #722

Merged
merged 3 commits into from
Mar 27, 2023

Conversation

minimav
Copy link
Contributor

@minimav minimav commented Mar 23, 2023

I've had a go at adding validation for the default for param.Boolean (see #700). I was not sure whether the validation should occur before or after the super call, let me know if after that make more sense.

Copy link
Member

@jbednar jbednar left a comment

Choose a reason for hiding this comment

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

Looks good! Minor simplification.

param/__init__.py Outdated Show resolved Hide resolved
@jbednar jbednar merged commit 7ece88c into holoviz:main Mar 27, 2023
@jbednar
Copy link
Member

jbednar commented Mar 27, 2023

Thanks!

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