289 Commits

Author SHA1 Message Date
Google Earth Engine Authors
d2eef67942 Add the superseding dataset id to the Python client dataset deprecation warning.
PiperOrigin-RevId: 819250677
2025-10-14 09:07:51 -07:00
Kurt Schwehr
95891bb315 batch_test.py: Add test for State.success.
PiperOrigin-RevId: 818898751
2025-10-13 17:18:34 -07:00
Nate Schmitz
30a9a716c7 geometry: Fix assertion when using the Geometry constructor with a computed geometry and evenOdd, proj, or geodesic overrides.
PiperOrigin-RevId: 816239660
2025-10-07 09:15:19 -07:00
Nate Schmitz
f1d27e8b55 geometry: Add a test for the Geometry constructor with a computed geometry and evenOdd, proj, or geodesic overrides.
PiperOrigin-RevId: 816232377
2025-10-07 08:59:29 -07:00
Google Earth Engine Authors
3bfd68cbf7 oauth: Validate supported scopes in ee.Authenticate() when auth_mode='colab'.
PiperOrigin-RevId: 814799594
2025-10-03 13:01:04 -07:00
Kurt Schwehr
1277abe7ae ee_number_test.py: Fix test_init_invalid_arg pytype complaint
PiperOrigin-RevId: 814693219
2025-10-03 07:55:10 -07:00
Kurt Schwehr
48f77601a7 ee_string.py: Improve file
PiperOrigin-RevId: 813919811
2025-10-01 14:39:45 -07:00
Nate Schmitz
5f90acaa89 commands: Remove use of deprecated task methods from EE CLI.
PiperOrigin-RevId: 813846078
2025-10-01 11:47:57 -07:00
Kurt Schwehr
54f7bbf63b Use snake case for test names.
PiperOrigin-RevId: 813772945
2025-10-01 08:55:08 -07:00
Kurt Schwehr
698a8127b7 ee_number_test.py: Test invalid argument for __init__
PiperOrigin-RevId: 813480982
2025-09-30 16:44:48 -07:00
Nate Schmitz
3d4a6083ff Internal changes.
PiperOrigin-RevId: 812912320
2025-09-29 13:09:08 -07:00
Nate Schmitz
f22d01a6db state: Consolidate EE global state in an EEState object.
PiperOrigin-RevId: 812887334
2025-09-29 12:03:38 -07:00
Kurt Schwehr
c57f8ea12b geometry.py: Improve file
PiperOrigin-RevId: 812528605
2025-09-28 14:06:11 -07:00
Kurt Schwehr
7f66e4c257 blob.py: Improve __init__.
PiperOrigin-RevId: 811533695
2025-09-25 15:56:46 -07:00
Nate Schmitz
2cac7f2827 _cloud_api_utils: Remove global state.
PiperOrigin-RevId: 811483187
2025-09-25 13:39:59 -07:00
Kurt Schwehr
c4f02f52d4 _helpers.py: Do not require an email when creating a ServiceAccountCredentials with a key_file or key_data.
PiperOrigin-RevId: 810999115
2025-09-24 12:59:37 -07:00
Kurt Schwehr
c3d005a2fe pixeltype_test.py and project_test.py: Remove print()s
PiperOrigin-RevId: 780107463
2025-07-07 07:47:43 -07:00
Kurt Schwehr
5494cb9a72 python/.../*test.py: pyupgrade --py39-plus
PiperOrigin-RevId: 780105052
2025-07-07 07:39:26 -07:00
Kurt Schwehr
a2d29ad9e7 Use the builtin types rather than those imported from typing: dict,list, set.
PiperOrigin-RevId: 779272970
2025-07-04 14:00:19 -07:00
Kurt Schwehr
8b765a1640 Update algorithms.json.
PiperOrigin-RevId: 772182156
2025-06-16 14:53:58 -07:00
Kurt Schwehr
363d752df1 deserializer.py: Add type annotations and test coverage.
PiperOrigin-RevId: 772041150
2025-06-16 08:41:34 -07:00
Nate Schmitz
a83eb717f0 Update algorithms.json.
PiperOrigin-RevId: 768151168
2025-06-06 11:25:14 -07:00
Sufyan Abbasi
a099c2f71d Update algorithms.json
PiperOrigin-RevId: 748097766
2025-04-15 18:24:25 -07:00
Kurt Schwehr
9321b2be71 feature and geometry distance: Add spherical argument.
PiperOrigin-RevId: 746530232
2025-04-11 11:25:48 -07:00
Kurt Schwehr
f22ab10bc5 collections.py: Add bounds().
PiperOrigin-RevId: 746075469
2025-04-10 10:08:37 -07:00
Kurt Schwehr
4eb42bcb01 collection.py: Add rowKeys to randomCollection and update algorithms.json
PiperOrigin-RevId: 745556664
2025-04-09 06:08:14 -07:00
Kurt Schwehr
f3860e1d89 image.py: Add maxPixelsPerRegion argument to reduceRegions.
PiperOrigin-RevId: 745192562
2025-04-08 10:10:58 -07:00
Kurt Schwehr
d14bbade86 data_test.py: Fix order dependent testSetMaxRetries.
PiperOrigin-RevId: 745190243
2025-04-08 10:05:46 -07:00
Filip Domański
dab7a3d598 loadBigQueryTable() and runBigQuery(): Add static methods and unit tests.
PiperOrigin-RevId: 740773370
2025-03-26 08:16:12 -07:00
Nate Schmitz
cb85dd14c4 data: Update ee.data.create_assets to work with project-owned assets.
PiperOrigin-RevId: 740407354
2025-03-25 10:51:44 -07:00
Filip Domański
d1f320339d Update algorithms.json.
PiperOrigin-RevId: 740094907
2025-03-24 15:35:21 -07:00
Kurt Schwehr
16c2314290 Update algorithms.json for hidden algorithms/Image.parseExpression.
PiperOrigin-RevId: 730655749
2025-02-24 17:20:31 -08:00
Google Earth Engine Authors
3646b8ae25 more readable deprecation message
PiperOrigin-RevId: 721188638
2025-01-29 18:30:07 -08:00
Google Earth Engine Authors
ce379a2544 Modify error message when user relies on Earth Engine's OAuth project
PiperOrigin-RevId: 718036131
2025-01-21 12:58:57 -08:00
Nate Schmitz
016b82feb4 geometry_test: Update ee.Geometry tests for the new maxError parameter.
PiperOrigin-RevId: 717583940
2025-01-20 11:20:55 -08:00
Nate Schmitz
c284517b8b Update algorithms.json.
PiperOrigin-RevId: 716771521
2025-01-17 12:59:58 -08:00
Google Earth Engine Authors
e724bc3684 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 716036285
2025-01-15 18:54:58 -08:00
Nate Schmitz
b215d92878 Update algorithms.json.
PiperOrigin-RevId: 715418727
2025-01-14 09:48:20 -08:00
Google Earth Engine Authors
7df8b93136 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 714290427
2025-01-10 18:08:40 -08:00
Google Earth Engine Authors
350743ec70 Require project when initializing the client library, and un-document gcloud-legacy
PiperOrigin-RevId: 713849015
2025-01-09 17:25:30 -08:00
Google Earth Engine Authors
ab477a632e Fix processing of unspecified 'proj', 'geodesic', 'evenOdd' parameters in ee.Geometry constructors.
PiperOrigin-RevId: 713532849
2025-01-08 22:03:26 -08:00
Nate Schmitz
8504af53f2 geometry_test: Add missing test coverage to geometry_test.
PiperOrigin-RevId: 712656942
2025-01-06 14:21:45 -08:00
Nate Schmitz
442de1a4a6 geometry_test: Format geometry_test.
PiperOrigin-RevId: 711589124
2025-01-02 18:54:14 -08:00
Nate Schmitz
8d0fbb086d ee_test: Add project initialization tests.
PiperOrigin-RevId: 710741669
2024-12-30 10:08:32 -08:00
Nate Schmitz
099bbdf065 oauth_test: Import oauth module directly.
PiperOrigin-RevId: 708327929
2024-12-20 08:17:38 -08:00
Nate Schmitz
bfee256ca6 oauth_test: Simplify in_colab_shell unit tests.
PiperOrigin-RevId: 708326914
2024-12-20 08:13:24 -08:00
Nate Schmitz
f2c26c2457 Update algorithms.json.
PiperOrigin-RevId: 704767324
2024-12-10 10:46:22 -08:00
Kurt Schwehr
cc8a060975 imagecollection_test.py: Add test_count.
PiperOrigin-RevId: 686929368
2024-10-17 08:47:24 -07:00
Kurt Schwehr
b281501ad3 closetPoint(s): Add unit tests and static methods.
PiperOrigin-RevId: 686145682
2024-10-15 10:06:51 -07:00
Kurt Schwehr
6f0c45eeb7 algorithms.json: Manual update to the latest.
This contains a large number of changes, but it is primarily being
done for `closestPoint(s)`.
2024-10-15 08:46:36 -07:00