Skip to content

Commit 45f2886

Browse files
committed
implement Mickael comments
1 parent 83e2c81 commit 45f2886

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dataikuapi/dss/admin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,6 @@ class DSSPersonalApiKey(object):
11421142
Do not call that directly, use :meth:`dataikuapi.DSSClient.get_personal_api_key`
11431143
"""
11441144
def __init__(self, client, id_):
1145-
"""Do not call that directly, use :meth:`dataikuapi.DSSClient.get_personal_api_key`"""
11461145
self.client = client
11471146
self.id_ = id_
11481147

dataikuapi/dssclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ def list_all_personal_api_keys(self, as_type='dict'):
742742
else:
743743
return resp
744744

745-
def create_personal_api_key_for_user(self, label="", description="", user="", as_type='dict'):
745+
def create_personal_api_key_for_user(self, user, label="", description="", as_type='dict'):
746746
"""
747747
Create a Personal API key associated on behalf of a user
748748
Only admin can create a key for another user

0 commit comments

Comments
 (0)