We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af0ef8 commit b873d50Copy full SHA for b873d50
src/sasctl/tasks.py
@@ -292,6 +292,12 @@ def get_version(x):
292
targetLevel=target_level,
293
predictionVariable=prediction_variable)
294
295
+ # As of Viya 3.4 the 'predictionVariable' parameter is not set during
296
+ # project creation. Update the project if necessary.
297
+ if project.get('predictionVariable') != prediction_variable:
298
+ project['predictionVariable'] = prediction_variable
299
+ mr.update_project(project)
300
+
301
model = mr.create_model(model, project)
302
303
assert isinstance(model, RestObj)
0 commit comments