mirror of
https://github.com/clearml/clearml-server
synced 2025-06-25 23:25:48 +00:00
Set API version to 2.24
This commit is contained in:
parent
9739eb2d5a
commit
bda903d0d8
@ -67,7 +67,7 @@ class MissingPasswordForElasticUser(Exception):
|
|||||||
|
|
||||||
class ESFactory:
|
class ESFactory:
|
||||||
@classmethod
|
@classmethod
|
||||||
def connect(cls, cluster_name):
|
def connect(cls, cluster_name) -> Elasticsearch:
|
||||||
"""
|
"""
|
||||||
Returns the es client for the cluster.
|
Returns the es client for the cluster.
|
||||||
Connects to the cluster if did not connect previously
|
Connects to the cluster if did not connect previously
|
||||||
|
@ -151,7 +151,7 @@ create {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
"999.0": ${create."2.23"} {
|
"2.24": ${create."2.23"} {
|
||||||
request.properties.report_assets {
|
request.properties.report_assets {
|
||||||
description: "List of the external report assets"
|
description: "List of the external report assets"
|
||||||
type: array
|
type: array
|
||||||
@ -193,7 +193,7 @@ update {
|
|||||||
}
|
}
|
||||||
response: ${_definitions.update_response}
|
response: ${_definitions.update_response}
|
||||||
}
|
}
|
||||||
"999.0": ${update."2.23"} {
|
"2.24": ${update."2.23"} {
|
||||||
request.properties.report_assets {
|
request.properties.report_assets {
|
||||||
description: "List of the external report assets"
|
description: "List of the external report assets"
|
||||||
type: array
|
type: array
|
||||||
|
@ -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.23")
|
_max_version = PartialVersion("2.24")
|
||||||
""" 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 = (
|
||||||
|
Loading…
Reference in New Issue
Block a user