Skip to content

Commit ba416b9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9508c5b commit ba416b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

jupyter_server/serverapp.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# Distributed under the terms of the Modified BSD License.
55
from __future__ import annotations
66

7-
from functools import partial
87
import datetime
98
import errno
109
import gettext
@@ -29,6 +28,7 @@
2928
import urllib
3029
import warnings
3130
from base64 import encodebytes
31+
from functools import partial
3232
from pathlib import Path
3333

3434
import 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(

0 commit comments

Comments
 (0)