diff --git a/pubsub/google/cloud/pubsub_v1/subscriber/client.py b/pubsub/google/cloud/pubsub_v1/subscriber/client.py index bda24ce96718..817ef80a97eb 100644 --- a/pubsub/google/cloud/pubsub_v1/subscriber/client.py +++ b/pubsub/google/cloud/pubsub_v1/subscriber/client.py @@ -165,8 +165,8 @@ def callback(message): how callbacks are executed concurrently. Returns: - google.cloud.pubsub_v1.futures.StreamingPullFuture: A Future object - that can be used to manage the background stream. + google.cloud.pubsub_v1.subscriber.futures.StreamingPullFuture: A + Future object that can be used to manage the background stream. """ flow_control = types.FlowControl(*flow_control)