Update API version to 2.20

This commit is contained in:
allegroai 2022-07-08 18:02:44 +03:00
parent 68a54c34f3
commit c6f1beafdd
8 changed files with 15 additions and 15 deletions

View File

@ -550,7 +550,7 @@ debug_images {
}
}
plots {
"999.0" {
"2.20" {
description: "Get plot events for the requested amount of iterations per each task"
request {
type: object
@ -619,7 +619,7 @@ get_debug_image_sample {
}
response {"$ref": "#/definitions/debug_image_sample_response"}
}
"999.0": ${get_debug_image_sample."2.12"} {
"2.20": ${get_debug_image_sample."2.12"} {
request.properties.navigate_current_metric {
description: If set then subsequent navigation with next_debug_image_sample is done on the debug images for the passed metric only. Otherwise for all the metrics
type: boolean
@ -653,7 +653,7 @@ next_debug_image_sample {
}
}
get_plot_sample {
"999.0": {
"2.20": {
description: "Return the plot per metric and variant for the provided iteration"
request {
type: object
@ -694,7 +694,7 @@ get_plot_sample {
}
}
next_plot_sample {
"999.0": {
"2.20": {
description: "Get the plot for the next variant for the same iteration or for the next iteration"
request {
type: object
@ -1284,7 +1284,7 @@ multi_task_scalar_metrics_iter_histogram {
}
}
get_task_single_value_metrics {
"999.0" {
"2.20" {
description: Get single value metrics for the passed tasks
request {
type: object

View File

@ -234,7 +234,7 @@ get_all_ex {
description: "Scroll ID that can be used with the next calls to get_all_ex to retrieve more data"
}
}
"999.0": ${get_all_ex."2.15"} {
"2.20": ${get_all_ex."2.15"} {
request.properties.include_stats {
description: "If true, include models statistic in response"
type: boolean

View File

@ -104,7 +104,7 @@ get_user_companies {
}
}
get_entities_count {
"999.0": {
"2.20": {
description: "Get counts for the company entities according to the passed search criteria"
request {
type: object

View File

@ -609,7 +609,7 @@ get_all_ex {
additionalProperties: true
}
}
"999.0": ${get_all_ex."2.17"} {
"2.20": ${get_all_ex."2.17"} {
request.properties.include_dataset_stats {
description: "If true, include project dataset statistic in response"
type: boolean

View File

@ -112,7 +112,7 @@ get_by_id {
}
}
}
"999.0": ${get_by_id."2.4"} {
"2.20": ${get_by_id."2.4"} {
request.properties.max_task_entries {
description: Max number of queue task entries to return
type: integer
@ -146,7 +146,7 @@ get_all_ex {
description: "Scroll ID that can be used with the next calls to get_all_ex to retrieve more data"
}
}
"999.0": ${get_all_ex."2.15"} {
"2.20": ${get_all_ex."2.15"} {
request.properties.max_task_entries {
description: Max number of queue task entries to return
type: integer
@ -238,7 +238,7 @@ get_all {
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.20": ${get_all."2.15"} {
request.properties.max_task_entries {
description: Max number of queue task entries to return
type: integer
@ -652,7 +652,7 @@ get_queue_metrics : {
}
}
}
"999.0": ${get_queue_metrics."2.4"} {
"2.20": ${get_queue_metrics."2.4"} {
request.properties.refresh {
type: boolean
default: false

View File

@ -2031,7 +2031,7 @@ completed {
} ${_references.status_change_request}
response: ${_definitions.update_response}
}
"999.0": ${completed."2.2"} {
"2.20": ${completed."2.2"} {
request.properties.publish {
type: boolean
default: false

View File

@ -287,7 +287,7 @@ get_all {
}
}
}
"999.0": ${get_all."2.4"} {
"2.20": ${get_all."2.4"} {
request.properties.tags {
description: The list of allowed worker tags. Prepend tag value with '-' in order to exclude
type: array

View File

@ -38,7 +38,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.17")
_max_version = PartialVersion("2.20")
""" Maximum version number (the highest min_version value across all endpoints) """
_endpoint_exp = (