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 da61c42 commit 068cc3b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions osbenchmark/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ class OsClientFactory:
Abstracts how the OpenSearch client is created. Intended for testing.
"""
def __init__(self, hosts, client_options):
print("OsClientFactory OsClientFactory OsClientFactory")
self.hosts = hosts
self.client_options = dict(client_options)
self.ssl_context = None
Expand Down Expand Up @@ -363,11 +364,11 @@ async def on_request_end(session, trace_config_ctx, params):

class BenchmarkAsyncOpenSearch(opensearchpy.AsyncOpenSearch, RequestContextHolder):
print("benchmark###################")
async def __init__(self,aos,rch):
print("benchmark__init__###################")
# async def __init__(self,aos,rch):
# print("benchmark__init__###################")

# async def __del__():
# print("benchmark__del__###################")
# # async def __del__():
# # print("benchmark__del__###################")

#pass

Expand Down

0 comments on commit 068cc3b

Please sign in to comment.