You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jonparrott ISTM like you want a collections.defaultdict(set)?
In #3325 a similar snippet was failing because policy.owners returned a frozenset. In the __getitem__ case, the raw binding will be returned, which we guarantee is a set. Is it a bad thing that the two different means of access produce different behavior?
https://github.com/GoogleCloudPlatform/google-cloud-python/blob/bd9fdfba07fac63a91847628613928a569250c0f/core/google/cloud/iam.py#L71
Should return an empty set if no bindings are set for that role.
The text was updated successfully, but these errors were encountered: