Set API version to 2.24

This commit is contained in:
allegroai 2023-03-23 19:11:13 +02:00
parent 9739eb2d5a
commit bda903d0d8
3 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ class MissingPasswordForElasticUser(Exception):
class ESFactory:
@classmethod
def connect(cls, cluster_name):
def connect(cls, cluster_name) -> Elasticsearch:
"""
Returns the es client for the cluster.
Connects to the cluster if did not connect previously

View File

@ -151,7 +151,7 @@ create {
}
}
}
"999.0": ${create."2.23"} {
"2.24": ${create."2.23"} {
request.properties.report_assets {
description: "List of the external report assets"
type: array
@ -193,7 +193,7 @@ update {
}
response: ${_definitions.update_response}
}
"999.0": ${update."2.23"} {
"2.24": ${update."2.23"} {
request.properties.report_assets {
description: "List of the external report assets"
type: array

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
maximum """
_max_version = PartialVersion("2.23")
_max_version = PartialVersion("2.24")
""" Maximum version number (the highest min_version value across all endpoints) """
_endpoint_exp = (