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