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 707545a commit 25a0734Copy full SHA for 25a0734
src/sasctl/tasks.py
@@ -207,7 +207,7 @@ def register_model(
207
column_name: type may be provided.
208
version : {'new', 'latest', int}, optional
209
Version number of the project in which the model should be created.
210
- Defaults to 'latest'.
+ Defaults to 'new'.
211
files : list
212
A list of dictionaries of the form
213
{'name': filename, 'file': filecontent}.
@@ -248,7 +248,7 @@ def register_model(
248
# TODO: Create new version if model already exists
249
250
# If version not specified, default to creating a new version
251
- version = version or "latest"
+ version = version or "new"
252
253
files = files or []
254
0 commit comments