Skip to content

Commit d39e39f

Browse files
committed
Remove deprecated warning from list_active_notebooks
1 parent 74674a0 commit d39e39f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dataikuapi/dssclient.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,13 @@ def get_future(self, job_id):
9696

9797
def list_running_notebooks(self, as_objects=True):
9898
"""
99-
Deprecated. Use :meth:`DSSClient.list_jupyter_notebooks`
10099
List the currently-running Jupyter notebooks
101100
102101
:param boolean as_objects: if True, each returned item will be a :class:`dataikuapi.dss.notebook.DSSNotebook`
103102
104103
:return: list of notebooks. if as_objects is True, each entry in the list is a :class:`dataikuapi.dss.notebook.DSSNotebook`. Else, each item in the list is a dict which contains at least a "name" field.
105104
:rtype: list of :class:`dataikuapi.dss.notebook.DSSNotebook` or list of dict
106105
"""
107-
warnings.warn("Use DSSClient.list_jupyter_notebooks", DeprecationWarning)
108106
notebook_list = self._perform_json("GET", "/admin/notebooks/")
109107
if as_objects:
110108
return [DSSNotebook(self, notebook['projectKey'], notebook['name'], notebook) for notebook in notebook_list]

0 commit comments

Comments
 (0)