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

Allow to pass 'basic_login_template' argument to panel server #5454

Merged
merged 1 commit into from Aug 28, 2023

Conversation

TBym
Copy link
Contributor

@TBym TBym commented Aug 28, 2023

BasicProvider() class allows to pass custom login template to its constructor.
This change allows to pass the argument 'basic_login_template' to panel.serve() function to be used by BasicProvider class.
In my PR the argument is read from **kwargs, but this could be changed to function argument directly in get_server() function. I am not sure what is a preferable way.

@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #5454 (7098678) into main (b40a7f4) will increase coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #5454      +/-   ##
==========================================
+ Coverage   83.20%   83.24%   +0.04%     
==========================================
  Files         274      274              
  Lines       40086    40087       +1     
==========================================
+ Hits        33355    33372      +17     
+ Misses       6731     6715      -16     
Flag Coverage Δ
ui-tests 40.72% <0.00%> (+<0.01%) ⬆️
unitexamples-tests 72.55% <0.00%> (+0.04%) ⬆️

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

Files Changed Coverage Δ
panel/io/server.py 71.69% <0.00%> (-0.12%) ⬇️

... and 3 files with indirect coverage changes

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

@philippjfr
Copy link
Member

Thank you!

@philippjfr philippjfr merged commit 359b88a into holoviz:main Aug 28, 2023
13 of 15 checks passed
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.

None yet

2 participants