612 Commits

Author SHA1 Message Date
Kurt Schwehr
ff7a5fbdbc ee pyupgrade --py39-plus
PiperOrigin-RevId: 780619373
2025-07-08 10:27:19 -07:00
Kurt Schwehr
f7562a64c9 cli: pyupgrade --py39-plus
PiperOrigin-RevId: 780215328
2025-07-07 12:29:50 -07:00
Kurt Schwehr
1f64669a10 deprecation.py: Handle mypy complaints.
PiperOrigin-RevId: 780155208
2025-07-07 10:03:26 -07:00
Kurt Schwehr
b32832ff18 image.py: pyupgrade --py39-plus
PiperOrigin-RevId: 780131259
2025-07-07 08:57:39 -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
39390ab764 geometry.py: Rename import of projection to avoid confusing some checkers.
PiperOrigin-RevId: 779237031
2025-07-04 11:11:54 -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
Kurt Schwehr
66a76f80da encodable.py: Add type annotations.
PiperOrigin-RevId: 772024516
2025-06-16 07:51:15 -07:00
Nate Schmitz
a83eb717f0 Update algorithms.json.
PiperOrigin-RevId: 768151168
2025-06-06 11:25:14 -07:00
Google Earth Engine Authors
a49f4ffc82 use a more specific variable name in ee.Initialize()
PiperOrigin-RevId: 763960952
2025-05-27 15:01:59 -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
Google Earth Engine Authors
27d6d9eaf4 Add https://www.googleapis.com/auth/drive scope to the default OAuth scopes
PiperOrigin-RevId: 746470122
2025-04-11 08:26:26 -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
b1dd54633b model.py: Mark fromAiPlatformPredictor deprecated.
PiperOrigin-RevId: 745201348
2025-04-08 10:31:40 -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
Google Earth Engine Authors
7b6e527fd0 Require --max_concurrent_exports in earthengine alpha project_config set calls
PiperOrigin-RevId: 738851116
2025-03-20 10:20:19 -07:00
Kurt Schwehr
7c3d85d2ff ee cli: Add --version option.
PiperOrigin-RevId: 733361549
2025-03-04 09:40:14 -08:00
Nate Schmitz
ec994e5ae0 arg_types: Add Task type annotations to batch.
PiperOrigin-RevId: 732911050
2025-03-03 07:10:45 -08:00
Nate Schmitz
c364f41cb0 arg_types: Add bool to Bool type annotation.
PiperOrigin-RevId: 732254831
2025-02-28 14:08:15 -08:00
Justin Braaten
ec996c522c Add list of supported classifiers for export
PiperOrigin-RevId: 732235086
2025-02-28 13:07:31 -08: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
5e30c247ad Do not require project if credentials are obtained from a service account
PiperOrigin-RevId: 721841213
2025-01-31 11:25:35 -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
Google Earth Engine Authors
e761027b0e Retry on installing the cloud api resources.
PiperOrigin-RevId: 715618555
2025-01-14 19:44:37 -08:00
Justin Braaten
0db413d006 Add a note that some classes are loaded dynamically
PiperOrigin-RevId: 715485691
2025-01-14 12:38:09 -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
565f49b4a8 commands: Reinstate _check_valid_files.
PiperOrigin-RevId: 708378233
2024-12-20 11:26:10 -08:00
Nate Schmitz
01d144eb0d cloud: Move away from the deprecated utcfromtimestamp function.
PiperOrigin-RevId: 708369587
2024-12-20 10:56:01 -08:00
Nate Schmitz
071269a18a init: Simplify init and reset calls on dynamically-initialized classes.
PiperOrigin-RevId: 708368448
2024-12-20 10:51:52 -08:00
Nate Schmitz
1066aca877 commands: Remove _check_valid_files.
PiperOrigin-RevId: 708330933
2024-12-20 08:32:12 -08:00
Nate Schmitz
099bbdf065 oauth_test: Import oauth module directly.
PiperOrigin-RevId: 708327929
2024-12-20 08:17:38 -08:00