Skip to content

Validate type of param.Boolean default value - #722

Merged
jbednar merged 3 commits into
holoviz:mainfrom
minimav:validate-boolean-default
Mar 27, 2023
Merged

jbednar merged 3 commits into
holoviz:mainfrom
minimav:validate-boolean-default

Conversation

@minimav

@minimav minimav commented Mar 23, 2023

Copy link
Copy Markdown
Contributor

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.

Comment thread param/__init__.py

@jbednar jbednar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Minor simplification.

Comment thread param/__init__.py Outdated
@jbednar
jbednar merged commit 7ece88c into holoviz:main Mar 27, 2023
@jbednar

jbednar commented Mar 27, 2023

Copy link
Copy Markdown
Member

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