We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a53eb1c commit 70e6444Copy full SHA for 70e6444
dataikuapi/dss/recipe.py
@@ -136,6 +136,7 @@ def set_definition_and_payload(self, definition):
136
Deprecated. Use :meth:`get_settings` and :meth:`DSSRecipeSettings.save`
137
"""
138
warnings.warn("Recipe.set_definition_and_payload is deprecated, please use get_settings", DeprecationWarning)
139
+ definition._payload_to_str()
140
return self.client._perform_json(
141
"PUT", "/projects/%s/recipes/%s" % (self.project_key, self.recipe_name),
142
body=definition.data)
0 commit comments