We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87ab734 commit 6c23ac5Copy full SHA for 6c23ac5
1 file changed
dataikuapi/dssclient.py
@@ -979,6 +979,8 @@ def execute(self, settings=None):
979
"""
980
# Empty JSON dicts can't be parsed properly
981
if settings is None:
982
- settings = {"_": "_"}
+ settings = {}
983
+ if settings == {}:
984
+ settings["_"] = "_"
985
return self.client._perform_json("POST", "/projects/import/%s/process" % (self.import_id),
986
body = settings)
0 commit comments