Commit fd146d7
committed
Fix: Convert scopes set to list in Credentials.__init__
This change ensures that if a set of scopes is passed to Credentials, it is converted to a list. This prevents issues with JSON serialization (to_json failure) and ensures consistent mutability behavior for the scopes property.
Also updated tests/test__oauth2client.py to handle the type change (set -> list) in equality checks.
Fixes #11451 parent ba94c5f commit fd146d7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments