Skip to content

Commit

Permalink
fix up type checker exemption
Browse files Browse the repository at this point in the history
Signed-off-by: Bernd Verst <[email protected]>
  • Loading branch information
berndverst committed Jan 18, 2024
1 parent 4706099 commit 72660e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dapr/clients/grpc/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 72660e6

Please sign in to comment.