Show More
|
1 | NO CONTENT: modified file |
@@ -32,7 +32,6 b' from ...base.handlers import IPythonHandler, authenticate_unless_readonly' | |||
|
32 | 32 | |
|
33 | 33 | class SessionRootHandler(IPythonHandler): |
|
34 | 34 | |
|
35 | ||
|
36 | 35 | @authenticate_unless_readonly |
|
37 | 36 | def get(self): |
|
38 | 37 | sm = self.session_manager |
@@ -41,7 +40,6 b' class SessionRootHandler(IPythonHandler):' | |||
|
41 | 40 | sessions = sm.list_sessions() |
|
42 | 41 | self.finish(jsonapi.dumps(sessions)) |
|
43 | 42 | |
|
44 | ||
|
45 | 43 | @web.authenticated |
|
46 | 44 | def post(self): |
|
47 | 45 | sm = self.session_manager |
@@ -56,7 +54,6 b' class SessionRootHandler(IPythonHandler):' | |||
|
56 | 54 | model = sm.session_model(session_id, notebook_name, path, kernel) |
|
57 | 55 | self.finish(jsonapi.dumps(model)) |
|
58 | 56 | |
|
59 | ||
|
60 | 57 | class SessionHandler(IPythonHandler): |
|
61 | 58 | |
|
62 | 59 | SUPPORTED_METHODS = ('GET', 'PATCH', 'DELETE') |
General Comments 0
You need to be logged in to leave comments.
Login now