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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user