在过去,opensearch-py不支持使用AsyncOpenSearch客户端签署AWS请求,而是it seems to have been fixed in V2.01。不幸的是,我仍然无法使用AsyncOpenSearch签署请求。我用的是2.31版本。下面是我的代码: from opensearchpy import AsyncOpenSearch, RequestsHttpConnection from requests_aws4auth import AWS4Auth auth = AW...
opensearch-py/test_opensearchpy/run_tests.py Lines 159 to 164 ina24b9f3 ignores=[ "test_opensearchpy/test_server/", "test_opensearchpy/test_server_secured/", "test_opensearchpy/test_async/test_server/", "test_opensearchpy/test_async/test_server_secured/", ] . So what tests actually run...
This all makes sense. I think you have to do the same for the async code (seehttps://github.com/opensearch-project/opensearch-py/blob/main/opensearchpy/_async/helpers/index.py#L308). Add a test for that too.