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

Use non-default Parameterized name as Select label #3755

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

philippjfr
Copy link
Member

Fixes #3688

@codecov
Copy link

codecov bot commented Aug 13, 2022

Codecov Report

Merging #3755 (ad28039) into master (b8d3263) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3755   +/-   ##
=======================================
  Coverage   84.20%   84.20%           
=======================================
  Files         213      213           
  Lines       30958    30971   +13     
=======================================
+ Hits        26067    26080   +13     
  Misses       4891     4891           
Flag Coverage Δ
ui-tests 34.01% <26.66%> (-0.01%) ⬇️
unitexamples-tests 77.10% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
panel/tests/widgets/test_select.py 100.00% <100.00%> (ø)
panel/util.py 86.41% <100.00%> (+0.05%) ⬆️
panel/widgets/select.py 94.75% <100.00%> (+0.06%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr merged commit 4a9b4d0 into master Aug 13, 2022
@philippjfr philippjfr deleted the select_name_label branch August 13, 2022 13:36
@@ -37,6 +37,9 @@
bokeh_version = Version(bokeh.__version__)


PARAM_NAME_PATTERN = re.compile('^.*\d{5}$')
Copy link
Member

Choose a reason for hiding this comment

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

This seems like something that should be internal to Param (a method or function to determine if a name is non-default), not hardcoded into Panel.

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.

Regression: Names of Parameterized options not used as labels of Selectors
2 participants