Skip to content

Commit 0974231

Browse files
committed
Use same interface for registering file and file object
1 parent bfbdd17 commit 0974231

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jupyter_server/serverapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ def init_eventlog(self):
18381838
for file in get_client_schema_files():
18391839
with importlib_resources.as_file(file) as f:
18401840
try:
1841-
self.eventlog.register_schema_file_object(f)
1841+
self.eventlog.register_schema_file(f)
18421842
except:
18431843
pass
18441844

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ install_requires =
4545
anyio>=2.0.2,<3
4646
importlib-metadata ; python_version < '3.8'
4747
importlib-resources ; python_version < '3.9'
48-
jupyter_telemetry@git+https://github.com/kiendang/telemetry.git@a4fbf987da063f9e0b337abd21803c968ac64f27
48+
jupyter_telemetry@git+https://github.com/kiendang/telemetry.git@4f4b5650fc86ffb6fc097741f3523e433b1c4967
4949

5050
[options.extras_require]
5151
test = coverage; pytest; pytest-cov; pytest-mock; requests; pytest-tornasync; pytest-console-scripts; ipykernel

0 commit comments

Comments
 (0)