Skip to content

Commit dfba8c0

Browse files
committed
Fix docstrings
1 parent 7d96842 commit dfba8c0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

dataikuapi/dss/apideployer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
from .future import DSSFuture
33

44
class DSSAPIDeployer(object):
5-
"""Handle to interact with the API Deployer.
5+
"""
6+
Handle to interact with the API Deployer.
67
78
Do not create this directly, use :meth:`dataikuapi.dss.DSSClient.get_apideployer`
89
"""
@@ -252,7 +253,7 @@ def start_update(self):
252253
253254
:returns: a :class:`dataikuapi.dss.future.DSSFuture` tracking the progress of the update. Call
254255
:meth:`~dataikuapi.dss.future.DSSFuture.wait_for_result` on the returned object
255-
to wait for completion (or failure)
256+
to wait for completion (or failure)
256257
"""
257258
future_response = self.client._perform_json(
258259
"POST", "/api-deployer/deployments/%s/actions/update" % (self.deployment_id))

dataikuapi/dssclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ def create_personal_api_key(self, label):
818818
819819
:param: label string: Label for the new API key
820820
:returns: a dict of the new API key, containing at least "secret", i.e. the actual secret API key
821-
:rtype dict
821+
:rtype: dict
822822
"""
823823
return self._perform_json("POST", "/auth/personal-api-keys",
824824
params={"label": label})
@@ -831,7 +831,7 @@ def get_licensing_status(self):
831831
"""
832832
Returns a dictionary with information about licensing status of this DSS instance
833833
834-
:rtype dict
834+
:rtype: dict
835835
"""
836836
return self._perform_json("GET", "/admin/licensing/status")
837837

0 commit comments

Comments
 (0)