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

Pass in a logger to get_metadata #1176

Merged
merged 1 commit into from
Jan 14, 2023
Merged

Conversation

yuvipanda
Copy link
Contributor

Without this, the log messages printed in
#1171 don't actually make it out. Whoops!

LoggingConfigurable inherits from HasTraits, and sets up Logging appropriately so we can have a log passed through.

Without this, the log messages printed in
jupyter-server#1171
don't actually make it out. Whoops!

LoggingConfigurable inherits from HasTraits, and sets up
Logging appropriately so we can have a log passed through.
@codecov
Copy link

codecov bot commented Jan 14, 2023

Codecov Report

Base: 79.32% // Head: 80.04% // Increases project coverage by +0.72% 🎉

Coverage data is based on head (fbb2ffa) compared to base (0948280).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1176      +/-   ##
==========================================
+ Coverage   79.32%   80.04%   +0.72%     
==========================================
  Files          68       68              
  Lines        8153     8153              
  Branches     1606     1606              
==========================================
+ Hits         6467     6526      +59     
+ Misses       1262     1200      -62     
- Partials      424      427       +3     
Impacted Files Coverage Δ
jupyter_server/extension/manager.py 92.34% <100.00%> (ø)
...ter_server/services/kernels/connection/channels.py 58.37% <0.00%> (-1.33%) ⬇️
jupyter_server/serverapp.py 79.92% <0.00%> (-0.09%) ⬇️
jupyter_server/services/contents/filemanager.py 75.27% <0.00%> (+1.48%) ⬆️
jupyter_server/extension/utils.py 88.88% <0.00%> (+4.44%) ⬆️
jupyter_server/_tz.py 100.00% <0.00%> (+5.88%) ⬆️
jupyter_server/nbconvert/handlers.py 79.09% <0.00%> (+49.99%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

Looks good @yuvipanda. I had run into this when checking this out yesterday. Thanks for circling back!

@kevin-bates kevin-bates merged commit 0edaf7c into jupyter-server:main Jan 14, 2023
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.

2 participants