From b115cafe763afd08dbe0fec542dd2a7ded2998df Mon Sep 17 00:00:00 2001 From: Sai Medhini Reddy Maryada Date: Wed, 27 Dec 2023 01:58:35 -0800 Subject: [PATCH] update225822582258$ Signed-off-by: Sai Medhini Reddy Maryada --- osbenchmark/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osbenchmark/client.py b/osbenchmark/client.py index e1d71001..90bfa92e 100644 --- a/osbenchmark/client.py +++ b/osbenchmark/client.py @@ -363,11 +363,11 @@ async def on_request_end(session, trace_config_ctx, params): class BenchmarkAsyncOpenSearch(opensearchpy.AsyncOpenSearch, RequestContextHolder): print("benchmark###################") - async def __aenter__(self) -> Any: + async def __aenter__(self): print("enter###############") return self - async def __aexit__(self, *_: Any) -> None: + async def __aexit__(self, *_): print("exit###############") await self.close() #pass