File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,8 @@ class DatasetSchema(ma.Schema):
6363 label = ma .fields .Str (
6464 validate = ma .validate .OneOf (
6565 [dataset_type .value for dataset_type in DatasetType ],
66- error = "`label` must be one of the supported frameworks."
67- + "Check out our API reference for a full list"
68- + " https://reference.openlayer.com/reference/api/openlayer.DatasetType.html.\n " ,
66+ error = "`label` not supported."
67+ + "The supported `labels` are 'training' and 'validation'." ,
6968 ),
7069 required = True ,
7170 )
@@ -134,8 +133,9 @@ class ModelSchema(ma.Schema):
134133 validate = ma .validate .OneOf (
135134 [model_framework .value for model_framework in ModelType ],
136135 error = "`architectureType` must be one of the supported frameworks."
137- + " Check out our API reference for a full list"
138- + " https://reference.openlayer.com/reference/api/openlayer.ModelType.html.\n " ,
136+ + " Check out our API reference for a full list."
137+ + " If you can't find your framework, specify 'custom' for your model's"
138+ + " `architectureType`." ,
139139 ),
140140 required = True ,
141141 )
You can’t perform that action at this time.
0 commit comments