File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 1
1
import json
2
2
from concurrent .futures import ThreadPoolExecutor
3
3
4
- from jupyter_server .base .handlers import APIHandler
5
-
6
4
import psutil
7
-
5
+ from jupyter_server . base . handlers import APIHandler
8
6
from tornado import web
9
7
from tornado .concurrent import run_on_executor
10
8
Original file line number Diff line number Diff line change 1
1
from jupyter_server .utils import url_path_join
2
+ from tornado import ioloop
2
3
3
4
from jupyter_resource_usage .api import ApiHandler
4
5
from jupyter_resource_usage .config import ResourceUseDisplay
5
6
from jupyter_resource_usage .metrics import PSUtilMetricsLoader
6
7
from jupyter_resource_usage .prometheus import PrometheusHandler
7
8
8
- from tornado import ioloop
9
-
10
9
11
10
def load_jupyter_server_extension (server_app ):
12
11
"""
Original file line number Diff line number Diff line change 1
1
import six
2
-
3
2
from traitlets import TraitType
4
3
5
4
# copy-pasted from the master of Traitlets source
You can’t perform that action at this time.
0 commit comments