Updated dependencies, generated API. (#793)

* Updated dependencies.

Signed-off-by: dblock <[email protected]>

* Lock setuptools at 71.1.0.

Newer version seems to cause UserWarning: Unknown distribution option: 'test_suite'.

Signed-off-by: dblock <[email protected]>

* Updated opensearch-py APIs to reflect opensearch-api-specification@9d3bc34.

Signed-off-by: dblock <[email protected]>

* Do not test against flaky 2.0.

Signed-off-by: dblock <[email protected]>

* Reduce test matrix and add 2.16.

Signed-off-by: dblock <[email protected]>

* Fix missing spaces in generated descriptions.

Signed-off-by: dblock <[email protected]>

* Removed 2.2.1.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
This commit is contained in:
Daniel (dB.) Doubrovkine
2024-08-14 15:25:01 -07:00
committed by GitHub
parent 581cbbaf10
commit 2d6ae74211
47 changed files with 3817 additions and 1621 deletions
@@ -9,6 +9,8 @@
# Modifications Copyright OpenSearch Contributors. See
# GitHub history for details.
import os
from opensearchpy import OpenSearch
# For cleaner output, comment in the two lines below to disable warnings and informational messages
@@ -26,7 +28,7 @@ def main() -> None:
hosts=["https://localhost:9200"],
use_ssl=True,
verify_certs=False,
http_auth=("admin", "admin"),
http_auth=("admin", os.getenv("OPENSEARCH_PASSWORD", "admin")),
)
# Create an index