File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/google/adk/tools/spanner
tests/unittests/tools/spanner Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 18
18
from .._google_credentials import BaseGoogleCredentialsConfig
19
19
20
20
SPANNER_TOKEN_CACHE_KEY = "spanner_token_cache"
21
- SPANNER_DEFAULT_SCOPE = ["https://www.googleapis.com/auth/spanner.data" ]
21
+ SPANNER_DEFAULT_SCOPE = [
22
+ "https://www.googleapis.com/auth/spanner.admin" ,
23
+ "https://www.googleapis.com/auth/spanner.data" ,
24
+ ]
22
25
23
26
24
27
@experimental
Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ def test_valid_credentials_object_oauth2_credentials(self):
48
48
assert config .client_id == "test_client_id"
49
49
assert config .client_secret == "test_client_secret"
50
50
assert config .scopes == [
51
+ "https://www.googleapis.com/auth/spanner.admin" ,
51
52
"https://www.googleapis.com/auth/spanner.data" ,
52
53
]
53
54
You can’t perform that action at this time.
0 commit comments