-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pub/Sub: update docstrings for client kwargs and fix return types uris #9037
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to mention client_config
kwarg in subscriber client's docstring as well for consistency?
Apart of that it looks good, just please fix some redundant whitespace in the docstrings to make the linter happy.
Thanks @plamut! Unlike publish with retry settings, for subscriber client, we don't expose retry settings in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and thanks for the additional cleanup.
googleapis#9037) * Update kwargs docs * lint * Fix return object type * Put back changes in setup.cfg and noxfile.py * fix no new line * fix various return types uris
Show examples of how to create
Fix return types for
publish()
,from_service_account_file()
,list_topics()
,list_topic_subscriptions()
subscribe()
,from_service_account_file()
,list_subscriptions()
,list_snapshots()