Update API version to 2.26

This commit is contained in:
allegroai 2023-07-26 18:44:20 +03:00
parent 6885d07462
commit 752020c66a
9 changed files with 14 additions and 14 deletions

View File

@ -1149,7 +1149,7 @@ get_multi_task_plots {
default: false default: false
} }
} }
"999.0": ${get_multi_task_plots."2.22"} { "2.26": ${get_multi_task_plots."2.22"} {
request.properties.last_iters_per_task_metric { request.properties.last_iters_per_task_metric {
type: boolean type: boolean
description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved

View File

@ -395,7 +395,7 @@ get_all {
description: "Scroll ID that can be used with the next calls to get_all to retrieve more data" description: "Scroll ID that can be used with the next calls to get_all to retrieve more data"
} }
} }
"999.0": ${get_all."2.15"} { "2.26": ${get_all."2.15"} {
request { request {
properties { properties {
include_subprojects { include_subprojects {

View File

@ -231,7 +231,7 @@ get_entities_count {
} }
} }
prepare_download_for_get_all { prepare_download_for_get_all {
"999.0": { "2.26": {
description: Prepares download from get_all_ex parameters description: Prepares download from get_all_ex parameters
request { request {
type: object type: object
@ -279,7 +279,7 @@ prepare_download_for_get_all {
} }
} }
download_for_get_all { download_for_get_all {
"999.0": { "2.26": {
description: Generates a file for the download description: Generates a file for the download
request { request {
type: object type: object

View File

@ -3,7 +3,7 @@ _definitions {
include "_common.conf" include "_common.conf"
} }
delete_runs { delete_runs {
"999.0": ${_definitions.batch_operation} { "2.26": ${_definitions.batch_operation} {
description: Delete pipeline runs description: Delete pipeline runs
request { request {
required: [ids, project] required: [ids, project]

View File

@ -808,7 +808,7 @@ validate_delete {
} }
} }
} }
"999.0": ${validate_delete."2.14"} { "2.26": ${validate_delete."2.14"} {
response.properties { response.properties {
reports { reports {
description: "The total number of reports under the project and all its children" description: "The total number of reports under the project and all its children"
@ -979,7 +979,7 @@ get_hyperparam_values {
} }
} }
} }
"999.0": ${get_hyperparam_values."2.13"} { "2.26": ${get_hyperparam_values."2.13"} {
request.properties { request.properties {
page { page {
description: "Page number" description: "Page number"
@ -1090,7 +1090,7 @@ get_model_metadata_values {
} }
} }
} }
"999.0": ${get_model_metadata_values."2.17"} { "2.26": ${get_model_metadata_values."2.17"} {
request.properties { request.properties {
page { page {
description: "Page number" description: "Page number"
@ -1297,7 +1297,7 @@ get_task_parents {
} }
} }
get_user_names { get_user_names {
"999.0" { "2.26" {
description: "Get names and ids of the users who created child entitites under the passed projects" description: "Get names and ids of the users who created child entitites under the passed projects"
request { request {
type: object type: object

View File

@ -587,7 +587,7 @@ get_task_data {
items {"$ref": "#/definitions/single_value_task_metrics"} items {"$ref": "#/definitions/single_value_task_metrics"}
} }
} }
"999.0": ${get_task_data."2.25"} { "2.26": ${get_task_data."2.25"} {
request.properties.plots.properties.last_iters_per_task_metric { request.properties.plots.properties.last_iters_per_task_metric {
type: boolean type: boolean
description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved description: If set to 'true' and iters passed then last iterations for each task metrics are retrieved. Otherwise last iterations for the whole task are retrieved
@ -713,7 +713,7 @@ get_all_ex {
} }
} }
} }
"999.0": ${get_all_ex."2.23"} { "2.26": ${get_all_ex."2.23"} {
request.properties.include_subprojects { request.properties.include_subprojects {
description: "If set to 'true' and project field is set then reports from the subprojects are searched too" description: "If set to 'true' and project field is set then reports from the subprojects are searched too"
type: boolean type: boolean

View File

@ -334,7 +334,7 @@ get_all {
description: "Scroll ID that can be used with the next calls to get_all to retrieve more data" description: "Scroll ID that can be used with the next calls to get_all to retrieve more data"
} }
} }
"999.0": ${get_all."2.15"} { "2.26": ${get_all."2.15"} {
request { request {
properties { properties {
include_subprojects { include_subprojects {

View File

@ -312,7 +312,7 @@ get_all {
} }
} }
get_count { get_count {
"999.0": { "2.26": {
description: "Returns the number of registered workers." description: "Returns the number of registered workers."
request { request {
type: object type: object

View File

@ -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 """If the check is set, parsing will fail for endpoint request with the version that is grater than the current
maximum """ maximum """
_max_version = PartialVersion("2.25") _max_version = PartialVersion("2.26")
""" Maximum version number (the highest min_version value across all endpoints) """ """ Maximum version number (the highest min_version value across all endpoints) """
_endpoint_exp = ( _endpoint_exp = (