Skip to content

Commit 1806f53

Browse files
committed
temp log
1 parent e62ce78 commit 1806f53

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

google/pubsub_v1/services/publisher/client.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,16 @@ def sample_publish():
757757

758758
# Wrap the RPC method; this adds retry and timeout information,
759759
# and friendly error handling.
760-
rpc = self._transport._wrapped_methods[self._transport.publish]
760+
761+
# PublisherTransport
762+
publisher_transport = self._transport
763+
# Dict of methods to _GapicCallables
764+
wrapped_methods = publisher_transport._wrapped_methods
765+
# publish method
766+
transport_publish_method = publisher_transport.publish
767+
# _GapicCallable(
768+
rpc = wrapped_methods[transport_publish_method]
769+
print("target:", rpc._target)
761770

762771
# Certain fields should be provided within the metadata header;
763772
# add these here.

0 commit comments

Comments
 (0)