Fix Task.runtime API v2.13

This commit is contained in:
allegroai 2021-04-28 13:12:30 +03:00
parent 20d91ee16c
commit fe76680eda

View File

@ -1602,8 +1602,8 @@ class Task(NonStrictDataModel):
"type": ["string", "null"], "type": ["string", "null"],
}, },
"runtime": { "runtime": {
"type": "object",
"description": "Task runtime mapping", "description": "Task runtime mapping",
"type": ["object", "null"],
"additionalProperties": True, "additionalProperties": True,
}, },
"script": { "script": {
@ -6160,8 +6160,8 @@ class EditRequest(Request):
"type": "string", "type": "string",
}, },
"runtime": { "runtime": {
"type": "object",
"description": "Task runtime mapping", "description": "Task runtime mapping",
"type": ["object", "null"],
"additionalProperties": True, "additionalProperties": True,
}, },
"script": {"$ref": "#/definitions/script", "description": "Script info"}, "script": {"$ref": "#/definitions/script", "description": "Script info"},