| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| >>> subscription = topic.subscription('subscription_name') | ||
| >>> policy = subscription.get_iam_policy() # API request | ||
| >>> policy.writers.add(policy.group('editors-list@example.com')) | ||
| >>> subscriptoin.set_iam_policy(policy) # API request |
|
LGTM other than a few small nits |
Sorry, something went wrong.
Add 'Subscription.set_iam_policy' API wrapper.
* fix: relax timeout expectations Changes to python-api-core can in certain cases cause timeout to be represented as a literal python base object type. This CL adjusts logic that selects from multiple timeout values to better handle this case, which previously assumed either a None or scalar value being present. Fixes: googleapis/python-bigquery#1612 * augment testing * blacken and lint fixes * unused import
* chore: add tests for `to_gbq` with flexible column names * just numbers
| Back | FazBrowse Home | New Git URL |
Uses #1644 as a base.
Toward #1073.