Skip to content

Commit

Permalink
Fix incorrect args for grpc.insecure_channel() (#216)
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Melin <arthur.melin@wiseone.io>
  • Loading branch information
ArthurMelin authored Jul 21, 2023
1 parent ba82512 commit 1291087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qdrant_client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def metadata_callback(context: Any, callback: Any) -> None:
else:
if metadata:
metadata_interceptor = header_adder_interceptor(metadata)
channel = grpc.insecure_channel(f"{host}:{port}", metadata, options)
channel = grpc.insecure_channel(f"{host}:{port}", options)
return grpc.intercept_channel(channel, metadata_interceptor)
else:
return grpc.insecure_channel(f"{host}:{port}", options)
Expand Down

0 comments on commit 1291087

Please sign in to comment.