[7.x] Add license headers

This commit is contained in:
Seth Michael Larson
2020-04-27 11:20:45 -05:00
committed by GitHub
parent 8e1798cf31
commit 35081e6890
4 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -9,7 +9,7 @@ class Data_FrameClient(NamespacedClient):
@query_params()
def delete_data_frame_transform(self, transform_id, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/delete-data-frame-transform.html>`_
:arg transform_id: The id of the transform to delete
"""
@@ -27,7 +27,7 @@ class Data_FrameClient(NamespacedClient):
@query_params("from_", "size")
def get_data_frame_transform(self, transform_id=None, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/get-data-frame-transform.html>`_
:arg transform_id: The id or comma delimited list of id expressions of
the transforms to get, '_all' or '*' implies get all transforms
@@ -46,7 +46,7 @@ class Data_FrameClient(NamespacedClient):
self, transform_id=None, params=None, headers=None
):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/get-data-frame-transform-stats.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/get-data-frame-transform-stats.html>`_
:arg transform_id: The id of the transform for which to get stats.
'_all' or '*' implies all transforms
@@ -60,7 +60,7 @@ class Data_FrameClient(NamespacedClient):
@query_params()
def preview_data_frame_transform(self, body, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/preview-data-frame-transform.html>`_
:arg body: The definition for the data_frame transform to preview
"""
@@ -77,7 +77,7 @@ class Data_FrameClient(NamespacedClient):
@query_params()
def put_data_frame_transform(self, transform_id, body, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/put-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/put-data-frame-transform.html>`_
:arg transform_id: The id of the new transform.
:arg body: The data frame transform definition
@@ -96,7 +96,7 @@ class Data_FrameClient(NamespacedClient):
@query_params("timeout")
def start_data_frame_transform(self, transform_id, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/start-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/start-data-frame-transform.html>`_
:arg transform_id: The id of the transform to start
:arg timeout: Controls the time to wait for the transform to start
@@ -115,7 +115,7 @@ class Data_FrameClient(NamespacedClient):
@query_params("timeout", "wait_for_completion")
def stop_data_frame_transform(self, transform_id, params=None, headers=None):
"""
`<https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-data-frame-transform.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/stop-data-frame-transform.html>`_
:arg transform_id: The id of the transform to stop
:arg timeout: Controls the time to wait until the transform has stopped.
+1 -1
View File
@@ -9,7 +9,7 @@ class DeprecationClient(NamespacedClient):
@query_params()
def info(self, index=None, params=None, headers=None):
"""
`<http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html>`_
`<http://www.elastic.co/guide/en/migration/7.x/migration-api-deprecation.html>`_
:arg index: Index pattern
"""
+1 -1
View File
@@ -10,7 +10,7 @@ class EqlClient(NamespacedClient):
def search(self, index, body, params=None, headers=None):
"""
Returns results matching a query expressed in Event Query Language (EQL)
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/eql.html>`_
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.x/eql-search-api.html>`_
:arg index: The name of the index to scope the operation
:arg body: Eql request body. Use the `query` to limit the query
+1 -1
View File
@@ -9,7 +9,7 @@ class RemoteClient(NamespacedClient):
@query_params()
def info(self, params=None, headers=None):
"""
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-remote-info.html>`_
`<http://www.elastic.co/guide/en/elasticsearch/reference/7.x/cluster-remote-info.html>`_
"""
return self.transport.perform_request(
"GET", "/_remote/info", params=params, headers=headers