##// END OF EJS Templates
Adding docstring to NotebookHandler.get.
Brian E. Granger -
Show More
@@ -49,13 +49,11 b' class NotebookHandler(IPythonHandler):'
49 49 @web.authenticated
50 50 @json_errors
51 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 57 nbm = self.notebook_manager
60 58 # Check to see if a notebook name was given
61 59 if name is None:
General Comments 0
You need to be logged in to leave comments. Login now