Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 4, 2024
1 parent 9508c5b commit ba416b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jupyter_server/serverapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Distributed under the terms of the Modified BSD License.
from __future__ import annotations

from functools import partial
import datetime
import errno
import gettext
Expand All @@ -29,6 +28,7 @@
import urllib
import warnings
from base64 import encodebytes
from functools import partial
from pathlib import Path

import jupyter_client
Expand Down Expand Up @@ -411,7 +411,9 @@ def init_settings(

settings = {
# basics
"log_function": partial(log_request, record_prometheus_metrics=jupyter_app.record_http_request_metrics),
"log_function": partial(
log_request, record_prometheus_metrics=jupyter_app.record_http_request_metrics
),
"base_url": base_url,
"default_url": default_url,
"template_path": template_path,
Expand Down Expand Up @@ -2003,7 +2005,7 @@ def _default_terminals_enabled(self) -> bool:
*lot* of metrics, creating operational challenges for multitenant deployments.
Set to False to disable recording the http_request_duration_seconds metric.
"""
""",
)

static_immutable_cache = List(
Expand Down

0 comments on commit ba416b9

Please sign in to comment.