Skip to content

Commit

Permalink
return default event_logger in contents manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Aug 29, 2022
1 parent 607a052 commit f0ba8db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_server/services/contents/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def _default_event_logger(self):
logger = EventLogger()
schema_path = DEFAULT_EVENTS_SCHEMA_PATH / "contents_service" / "v1.yaml"
logger.register_event_schema(schema_path)
return logger

def emit(self, data):
"""Emit event using the core event schema from Jupyter Server's Contents Manager."""
Expand Down

0 comments on commit f0ba8db

Please sign in to comment.