File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 44# Distributed under the terms of the Modified BSD License.
55from __future__ import annotations
66
7- from functools import partial
87import datetime
98import errno
109import gettext
2928import urllib
3029import warnings
3130from base64 import encodebytes
31+ from functools import partial
3232from pathlib import Path
3333
3434import jupyter_client
@@ -411,7 +411,9 @@ def init_settings(
411411
412412 settings = {
413413 # basics
414- "log_function" : partial (log_request , record_prometheus_metrics = jupyter_app .record_http_request_metrics ),
414+ "log_function" : partial (
415+ log_request , record_prometheus_metrics = jupyter_app .record_http_request_metrics
416+ ),
415417 "base_url" : base_url ,
416418 "default_url" : default_url ,
417419 "template_path" : template_path ,
@@ -2003,7 +2005,7 @@ def _default_terminals_enabled(self) -> bool:
20032005 *lot* of metrics, creating operational challenges for multitenant deployments.
20042006
20052007 Set to False to disable recording the http_request_duration_seconds metric.
2006- """
2008+ """ ,
20072009 )
20082010
20092011 static_immutable_cache = List (
You can’t perform that action at this time.
0 commit comments