Skip to content

Commit

Permalink
Merge branch 'main' into owl-bot-copy
Browse files Browse the repository at this point in the history
  • Loading branch information
mukund-ananthu authored Mar 5, 2024
2 parents 027dd7e + 141a473 commit 639e9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/snippets/quickstart/sub.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def callback(message: pubsub_v1.subscriber.message.Message) -> None:
parser.add_argument("project_id", help="Google Cloud project ID")
parser.add_argument("subscription_id", help="Pub/Sub subscription ID")
parser.add_argument(
"timeout", default=None, nargs="?", const=1, help="Pub/Sub subscription ID"
"timeout", default=None, type=float, nargs="?", const=1, help="StreamingPull timeout in seconds"
)

args = parser.parse_args()
Expand Down

0 comments on commit 639e9ca

Please sign in to comment.