Skip to content

Commit 49684e3

Browse files
committed
Better defaults for creating connections
1 parent b009c6c commit 49684e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dataikuapi/dssclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def get_connection(self, name):
333333
"""
334334
return DSSConnection(self, name)
335335

336-
def create_connection(self, name, type=None, params=None, usable_by='ALL', allowed_groups=None):
336+
def create_connection(self, name, type, params={}, usable_by='ALL', allowed_groups=[]):
337337
"""
338338
Create a connection, and return a handle to interact with it
339339

0 commit comments

Comments
 (0)