File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -2174,7 +2174,7 @@ async def health_report(
21742174 """
21752175 Returns the health of the cluster.
21762176
2177- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /health-api.html>`_
2177+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.7 /health-api.html>`_
21782178
21792179 :param feature: A feature of the cluster, as returned by the top-level health
21802180 report API.
Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ async def get_pipeline(
8181 """
8282 if id in SKIP_IN_PATH :
8383 raise ValueError ("Empty value passed for parameter 'id'" )
84- __path = f"/_logstash/pipeline/{ _quote (id )} "
84+ if id not in SKIP_IN_PATH :
85+ __path = f"/_logstash/pipeline/{ _quote (id )} "
86+ else :
87+ __path = "/_logstash/pipeline"
8588 __query : t .Dict [str , t .Any ] = {}
8689 if error_trace is not None :
8790 __query ["error_trace" ] = error_trace
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ async def schedule_now_transform(
458458 """
459459 Schedules now a transform.
460460
461- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /schedule-now-transform.html>`_
461+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.7 /schedule-now-transform.html>`_
462462
463463 :param transform_id: Identifier for the transform.
464464 :param timeout: Controls the time to wait for the scheduling to take place
Original file line number Diff line number Diff line change @@ -2172,7 +2172,7 @@ def health_report(
21722172 """
21732173 Returns the health of the cluster.
21742174
2175- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /health-api.html>`_
2175+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.7 /health-api.html>`_
21762176
21772177 :param feature: A feature of the cluster, as returned by the top-level health
21782178 report API.
Original file line number Diff line number Diff line change @@ -81,7 +81,10 @@ def get_pipeline(
8181 """
8282 if id in SKIP_IN_PATH :
8383 raise ValueError ("Empty value passed for parameter 'id'" )
84- __path = f"/_logstash/pipeline/{ _quote (id )} "
84+ if id not in SKIP_IN_PATH :
85+ __path = f"/_logstash/pipeline/{ _quote (id )} "
86+ else :
87+ __path = "/_logstash/pipeline"
8588 __query : t .Dict [str , t .Any ] = {}
8689 if error_trace is not None :
8790 __query ["error_trace" ] = error_trace
Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ def schedule_now_transform(
458458 """
459459 Schedules now a transform.
460460
461- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /schedule-now-transform.html>`_
461+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.7 /schedule-now-transform.html>`_
462462
463463 :param transform_id: Identifier for the transform.
464464 :param timeout: Controls the time to wait for the scheduling to take place
You can’t perform that action at this time.
0 commit comments