Skip to content

Commit

Permalink
update225822582258$
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Medhini Reddy Maryada <[email protected]>
  • Loading branch information
Sai Medhini Reddy Maryada authored and Sai Medhini Reddy Maryada committed Dec 27, 2023
1 parent 1a01963 commit b115caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osbenchmark/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b115caf

Please sign in to comment.