Skip to content

Commit

Permalink
publish-to-pypi: Initialize EE with an explicit project in the smoke …
Browse files Browse the repository at this point in the history
…tests.

PiperOrigin-RevId: 718903879
  • Loading branch information
Nate Schmitz authored and Google Earth Engine Authors committed Jan 23, 2025
1 parent e8cfd49 commit 844ddd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
];
path = os.environ["GOOGLE_APPLICATION_CREDENTIALS"];
info = json.load(open(path));
ee.Initialize(identity_pool.Credentials.from_info(info).with_scopes(scopes));
credentials = identity_pool.Credentials.from_info(info).with_scopes(scopes);
ee.Initialize(credentials, project=credentials.project_number);
print(ee.Image("srtm90_v4").getInfo())'
Expand Down

0 comments on commit 844ddd0

Please sign in to comment.