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

Enable GatewayClient managers to be configurable #834

Merged
merged 2 commits into from
May 6, 2022

Conversation

Zsailer
Copy link
Member

@Zsailer Zsailer commented May 5, 2022

If GatewayClient is enabled, it hardcodes the session_manager, kernel_manager, and kernelspec_manager. I think we still want these classes to be overridable. This PR keeps the defaults the same (backwards compatible) while also allowing it to be configurable.

@codecov-commenter
Copy link

codecov-commenter commented May 5, 2022

Codecov Report

Merging #834 (9481a02) into main (d7307d0) will increase coverage by 0.04%.
The diff coverage is 100.00%.

❗ Current head 9481a02 differs from pull request most recent head f87a2f9. Consider uploading reports for the commit f87a2f9 to get more accurate results

@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
+ Coverage   70.05%   70.10%   +0.04%     
==========================================
  Files          63       63              
  Lines        7548     7559      +11     
  Branches     1258     1260       +2     
==========================================
+ Hits         5288     5299      +11     
  Misses       1880     1880              
  Partials      380      380              
Impacted Files Coverage Δ
jupyter_server/serverapp.py 65.60% <100.00%> (+0.35%) ⬆️

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 05834ea...f87a2f9. Read the comment docs.

@Zsailer Zsailer marked this pull request as ready for review May 6, 2022 18:24
@Zsailer
Copy link
Member Author

Zsailer commented May 6, 2022

This is ready for review. I think we should backport this PR once merged.

Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

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

LGTM and seems like a useful change. Thanks @Zsailer!

@Zsailer Zsailer merged commit fe66a80 into jupyter-server:main May 6, 2022
@Zsailer Zsailer deleted the gateway-client branch May 6, 2022 23:03
@Zsailer
Copy link
Member Author

Zsailer commented May 6, 2022

@meeseeksdev please backport to 1.x

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.

3 participants