Skip to content

Commit b3304e3

Browse files
committed
Implement Mickael's comments
1 parent 8413957 commit b3304e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dataikuapi/dssclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ def list_all_personal_api_keys(self, as_type='objects'):
728728
List all personal API keys.
729729
Only admin can list all the keys.
730730
731-
:param str as_type: How to return the personal API keys. Possible values are "dict" and "object"
731+
:param str as_type: How to return the personal API keys. Possible values are "dict" and "objects"
732732
733733
:return: if as_type=dict, each personal API keys is returned as a dict.
734734
if as_type=objects, each key is returned as a :class:`dataikuapi.dss.admin.DSSPersonalApiKey`.
@@ -748,7 +748,7 @@ def create_personal_api_key_for_user(self, user, label="", description="", as_ty
748748
:param str label: the label of the new API key
749749
:param str description: the description of the new API key
750750
:param str user: the id of the user to impersonate
751-
:param str as_type: How to return the personal API keys. Possible values are "dict" and "objects"
751+
:param str as_type: How to return the personal API keys. Possible values are "dict" and "object"
752752
753753
:return: if as_type=dict, the new personal API key is returned as a dict.
754754
if as_type=object, the new personal API key is returned as a :class:`dataikuapi.dss.admin.DSSPersonalApiKey`.

0 commit comments

Comments
 (0)