From 72660e62b83b44e232c2600dddb360114aaee052 Mon Sep 17 00:00:00 2001 From: Bernd Verst Date: Thu, 18 Jan 2024 14:53:41 -0800 Subject: [PATCH] fix up type checker exemption Signed-off-by: Bernd Verst --- dapr/clients/grpc/client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dapr/clients/grpc/client.py b/dapr/clients/grpc/client.py index 11d721ab..e1a0c143 100644 --- a/dapr/clients/grpc/client.py +++ b/dapr/clients/grpc/client.py @@ -150,14 +150,14 @@ def __init__( raise DaprInternalError(f"{error}") from error if self._uri.tls: - self._channel = grpc.secure_channel( - self._uri.endpoint, # type: ignore + self._channel = grpc.secure_channel( # type: ignore + self._uri.endpoint, self.get_credentials(), options=options, ) else: - self._channel = grpc.insecure_channel( - self._uri.endpoint, # type: ignore + self._channel = grpc.insecure_channel( # type: ignore + self._uri.endpoint, options=options, )