Show More
@@ -49,13 +49,11 class NotebookHandler(IPythonHandler): | |||||
49 | @web.authenticated |
|
49 | @web.authenticated | |
50 | @json_errors |
|
50 | @json_errors | |
51 | def get(self, path='', name=None): |
|
51 | def get(self, path='', name=None): | |
|
52 | """Return a Notebook or list of notebooks. | |||
|
53 | ||||
|
54 | * GET with path and no notebook name lists notebooks in a directory | |||
|
55 | * GET with path and notebook name returns notebook JSON | |||
52 |
|
|
56 | """ | |
53 | GET with path and no notebook lists notebooks in a directory |
|
|||
54 | GET with path and notebook name |
|
|||
55 |
|
||||
56 | GET get checks if a notebook is not named, an returns a list of notebooks |
|
|||
57 | in the notebook path given. If a name is given, return |
|
|||
58 | the notebook representation""" |
|
|||
59 | nbm = self.notebook_manager |
|
57 | nbm = self.notebook_manager | |
60 | # Check to see if a notebook name was given |
|
58 | # Check to see if a notebook name was given | |
61 | if name is None: |
|
59 | if name is None: |
General Comments 0
You need to be logged in to leave comments.
Login now