From 58df8f201af95aabc4695a89083c85e431aea393 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Fri, 17 Nov 2023 09:40:34 +0200 Subject: [PATCH] Update API to 2.27 --- apiserver/schema/services/models.conf | 4 ++-- apiserver/schema/services/projects.conf | 4 ++-- apiserver/schema/services/queues.conf | 2 +- apiserver/schema/services/reports.conf | 2 +- apiserver/schema/services/tasks.conf | 4 ++-- apiserver/service_repo/service_repo.py | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apiserver/schema/services/models.conf b/apiserver/schema/services/models.conf index 8ac38d3..5e7d2df 100644 --- a/apiserver/schema/services/models.conf +++ b/apiserver/schema/services/models.conf @@ -261,7 +261,7 @@ get_all_ex { } } } - "999.0": ${get_all_ex."2.23"} { + "2.27": ${get_all_ex."2.23"} { request.properties { filters { type: object @@ -1093,7 +1093,7 @@ delete_metadata { } } update_tags { - "999.0" { + "2.27" { description: Add or remove tags from multiple models request { type: object diff --git a/apiserver/schema/services/projects.conf b/apiserver/schema/services/projects.conf index bb73d44..ffb20dd 100644 --- a/apiserver/schema/services/projects.conf +++ b/apiserver/schema/services/projects.conf @@ -661,7 +661,7 @@ get_all_ex { items {type: string} } } - "999.0": ${get_all_ex."2.25"} { + "2.27": ${get_all_ex."2.25"} { request.properties { filters { type: object @@ -1010,7 +1010,7 @@ get_hyperparam_values { } } } - "999.0": ${get_hyperparam_values."2.26"} { + "2.27": ${get_hyperparam_values."2.26"} { request.properties.pattern { type: string description: The search pattern regex diff --git a/apiserver/schema/services/queues.conf b/apiserver/schema/services/queues.conf index ec744f4..7617fde 100644 --- a/apiserver/schema/services/queues.conf +++ b/apiserver/schema/services/queues.conf @@ -159,7 +159,7 @@ get_all_ex { default: false } } - "999.0": ${get_all_ex."2.21"} { + "2.27": ${get_all_ex."2.21"} { request.properties { filters { type: object diff --git a/apiserver/schema/services/reports.conf b/apiserver/schema/services/reports.conf index 4920ea5..cc4f522 100644 --- a/apiserver/schema/services/reports.conf +++ b/apiserver/schema/services/reports.conf @@ -717,7 +717,7 @@ get_all_ex { default: false } } - "999.0": ${get_all_ex."2.26"} { + "2.27": ${get_all_ex."2.26"} { request.properties { filters { type: object diff --git a/apiserver/schema/services/tasks.conf b/apiserver/schema/services/tasks.conf index 944ae01..63fdd94 100644 --- a/apiserver/schema/services/tasks.conf +++ b/apiserver/schema/services/tasks.conf @@ -190,7 +190,7 @@ get_all_ex { } } } - "999.0": ${get_all_ex."2.23"} { + "2.27": ${get_all_ex."2.23"} { request.properties { filters { type: object @@ -2056,7 +2056,7 @@ move { } } update_tags { - "999.0" { + "2.27" { description: Add or remove tags from multiple tasks request { type: object diff --git a/apiserver/service_repo/service_repo.py b/apiserver/service_repo/service_repo.py index 12b30f9..399a2c5 100644 --- a/apiserver/service_repo/service_repo.py +++ b/apiserver/service_repo/service_repo.py @@ -39,7 +39,7 @@ class ServiceRepo(object): """If the check is set, parsing will fail for endpoint request with the version that is grater than the current maximum """ - _max_version = PartialVersion("2.26") + _max_version = PartialVersion("2.27") """ Maximum version number (the highest min_version value across all endpoints) """ _endpoint_exp = (