From fe76680eda5a350f7604aaccc8700e31caaa8245 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Wed, 28 Apr 2021 13:12:30 +0300 Subject: [PATCH] Fix Task.runtime API v2.13 --- clearml/backend_api/services/v2_13/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clearml/backend_api/services/v2_13/tasks.py b/clearml/backend_api/services/v2_13/tasks.py index 9e5cfb4b..d1c6405e 100644 --- a/clearml/backend_api/services/v2_13/tasks.py +++ b/clearml/backend_api/services/v2_13/tasks.py @@ -1602,8 +1602,8 @@ class Task(NonStrictDataModel): "type": ["string", "null"], }, "runtime": { - "type": "object", "description": "Task runtime mapping", + "type": ["object", "null"], "additionalProperties": True, }, "script": { @@ -6160,8 +6160,8 @@ class EditRequest(Request): "type": "string", }, "runtime": { - "type": "object", "description": "Task runtime mapping", + "type": ["object", "null"], "additionalProperties": True, }, "script": {"$ref": "#/definitions/script", "description": "Script info"},