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 32aa1fe
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

Check warning on line 150 in dapr/clients/grpc/client.py

View check run for this annotation

Codecov / codecov/patch

dapr/clients/grpc/client.py#L150

Added line #L150 was not covered by tests

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 32aa1fe

Please sign in to comment.