##// END OF EJS Templates
Adding docstring to NotebookHandler.get.
Brian E. Granger -
Show More
@@ -49,13 +49,11 b' 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 """
52 """Return a Notebook or list of notebooks.
53 GET with path and no notebook lists notebooks in a directory
54 GET with path and notebook name
55
53
56 GET get checks if a notebook is not named, an returns a list of notebooks
54 * GET with path and no notebook name lists notebooks in a directory
57 in the notebook path given. If a name is given, return
55 * GET with path and notebook name returns notebook JSON
58 the notebook representation"""
56 """
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