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

ExtensionManager: load default config manager by default #502

Merged
merged 1 commit into from
May 3, 2021

Conversation

minrk
Copy link
Contributor

@minrk minrk commented May 3, 2021

  • use traitlets for defaults, loading config_managers
  • load default config manager with default config path by default
  • remove semi-private attributes transparently exposed with public getters
    in favor of making them public.

This way a fully default ExtensionManager() will find all extensions by default, without needing to instantiate a config manager first.

- use traitlets for defaults, loading config_managers
- load default config manager with default config path by default
- remove semi-private attributes transparently exposed with public getters
@codecov-commenter
Copy link

codecov-commenter commented May 3, 2021

Codecov Report

Merging #502 (08bfe34) into master (5e77b73) will increase coverage by 0.02%.
The diff coverage is 92.30%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #502      +/-   ##
==========================================
+ Coverage   77.68%   77.70%   +0.02%     
==========================================
  Files         106      106              
  Lines        9276     9280       +4     
  Branches     1001     1002       +1     
==========================================
+ Hits         7206     7211       +5     
+ Misses       1711     1710       -1     
  Partials      359      359              
Impacted Files Coverage Δ
jupyter_server/extension/manager.py 86.03% <90.00%> (-0.71%) ⬇️
jupyter_server/tests/extension/test_manager.py 100.00% <100.00%> (ø)
jupyter_server/services/kernels/kernelmanager.py 81.09% <0.00%> (+0.72%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e77b73...08bfe34. Read the comment docs.

@blink1073 blink1073 added this to the 1.7 milestone May 3, 2021
@Zsailer
Copy link
Member

Zsailer commented May 3, 2021

Thanks, @minrk! 🚀

@Zsailer Zsailer merged commit a0135ca into jupyter-server:master May 3, 2021
hMED22 pushed a commit to hMED22/jupyter_server that referenced this pull request Jan 23, 2023
ExtensionManager: load default config manager by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants