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 108e559 commit a9afee9Copy full SHA for a9afee9
src/sasctl/_services/model_management.py
@@ -59,7 +59,8 @@ def publish_model(
59
model_name = model.name if hasattr(model, "name") else str(model)
60
raise ValueError("Model '{}' was not found.".format(model_name))
61
62
- model_uri = mr.get_model_link(model_obj, "self")
+ # Include refresh in case get_model call does not return enough information
63
+ model_uri = mr.get_model_link(model_obj, "self", True)
64
65
# TODO: Verify allowed formats by destination type.
66
# As of 19w04 MAS throws HTTP 500 if name is in invalid format.
0 commit comments