We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7433e04 commit 67f27a8Copy full SHA for 67f27a8
1 file changed
src/a2a/client/optionals.py
@@ -5,12 +5,12 @@
5
try:
6
from grpc.aio import Channel # pyright: ignore[reportAssignmentType]
7
except ImportError:
8
- # If grpc.aio is not available, define a dummy type for type checking.
9
- # This dummy type will only be used by type checkers.
+ # If grpc.aio is not available, define a stub type for type checking.
+ # This stub type will only be used by type checkers.
10
if TYPE_CHECKING:
11
12
class Channel: # type: ignore[no-redef]
13
- """Dummy class for type hinting when grpc.aio is not available."""
+ """Stub class for type hinting when grpc.aio is not available."""
14
15
else:
16
Channel = None # At runtime, pd will be None if the import failed.
0 commit comments