This repository was archived by the owner on Mar 9, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
google/pubsub_v1/services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -725,7 +725,7 @@ def __init__(
725725
726726 emulator_host = os .environ .get ("PUBSUB_EMULATOR_HOST" )
727727 if emulator_host :
728- if issubclass (transport_init , type (self )._transport_registry ["grpc" ]):
728+ if issubclass (transport_init , type (self )._transport_registry ["grpc" ]): # type: ignore
729729 channel = grpc .insecure_channel (target = emulator_host )
730730 else :
731731 channel = grpc .aio .insecure_channel (target = emulator_host )
Original file line number Diff line number Diff line change @@ -729,7 +729,7 @@ def __init__(
729729
730730 emulator_host = os .environ .get ("PUBSUB_EMULATOR_HOST" )
731731 if emulator_host :
732- if issubclass (transport_init , type (self )._transport_registry ["grpc" ]):
732+ if issubclass (transport_init , type (self )._transport_registry ["grpc" ]): # type: ignore
733733 channel = grpc .insecure_channel (target = emulator_host )
734734 else :
735735 channel = grpc .aio .insecure_channel (target = emulator_host )
@@ -1897,7 +1897,7 @@ def request_generator():
18971897 # Wrappers in api-core should not automatically pre-fetch the first
18981898 # stream result, as this breaks the stream when re-opening it.
18991899 # https://github.com/googleapis/python-pubsub/issues/93#issuecomment-630762257
1900- self ._transport .streaming_pull ._prefetch_first_result_ = False
1900+ self ._transport .streaming_pull ._prefetch_first_result_ = False # type: ignore
19011901
19021902 # Wrap the RPC method; this adds retry and timeout information,
19031903 # and friendly error handling.
You can’t perform that action at this time.
0 commit comments