We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
timeout
1 parent cdb94a8 commit 141a473Copy full SHA for 141a473
samples/snippets/quickstart/sub.py
@@ -57,7 +57,7 @@ def callback(message: pubsub_v1.subscriber.message.Message) -> None:
57
parser.add_argument("project_id", help="Google Cloud project ID")
58
parser.add_argument("subscription_id", help="Pub/Sub subscription ID")
59
parser.add_argument(
60
- "timeout", default=None, nargs="?", const=1, help="Pub/Sub subscription ID"
+ "timeout", default=None, type=float, nargs="?", const=1, help="StreamingPull timeout in seconds"
61
)
62
63
args = parser.parse_args()
0 commit comments