664 Commits

Author SHA1 Message Date
Google Earth Engine Authors
d4f4312113 Add overwrite parameter for image/table toAsset methods.
PiperOrigin-RevId: 833854880
2025-11-18 09:51:28 -08:00
Kurt Schwehr
4884055c0a data.py: Lint and add test coverage
PiperOrigin-RevId: 833400162
2025-11-17 10:34:46 -08:00
Kurt Schwehr
354d951a23 oauth.py: Lint and add test coverage
PiperOrigin-RevId: 831579437
2025-11-12 16:14:12 -08:00
Kurt Schwehr
4c08ad24ac oauth_test.py: Use mock.patch.object
PiperOrigin-RevId: 831558756
2025-11-12 15:18:11 -08:00
Kurt Schwehr
0031df82a1 table_converter.py: Add test coverage
PiperOrigin-RevId: 831440907
2025-11-12 10:18:59 -08:00
Kurt Schwehr
96168e6c42 python/ee: pyupgrade --py310 *.py.
PiperOrigin-RevId: 826592749
2025-10-31 12:45:18 -07:00
Kurt Schwehr
ccd4180964 collection: Add test coverage for filter and loadTable.
PiperOrigin-RevId: 825607486
2025-10-29 10:28:40 -07:00
Kurt Schwehr
dff3f94ea8 collection.py: Fix typo in the aggregate_product doc string: "ofthe".
PiperOrigin-RevId: 825597637
2025-10-29 10:08:29 -07:00
Kurt Schwehr
ea3fd5552b ee_number: Add test for expression().
PiperOrigin-RevId: 825587134
2025-10-29 09:44:00 -07:00
Kurt Schwehr
1c3d5a7a71 ee_number: Fix parse() and add a test.
PiperOrigin-RevId: 825580106
2025-10-29 09:25:20 -07:00
Kurt Schwehr
03b1c567eb ee_number: Improve unitScale.
PiperOrigin-RevId: 825559190
2025-10-29 08:29:37 -07:00
Kurt Schwehr
fa895ce21e Remove support for python 3.9
PiperOrigin-RevId: 825052072
2025-10-28 08:29:05 -07:00
Kurt Schwehr
14eb041c4c cli/commands: comma separated input fixes and eecli_lib_test.py: Add test coverage.
PiperOrigin-RevId: 822297657
2025-10-21 15:21:27 -07:00
Kurt Schwehr
fc6443fa15 reducer_test.py: Improve test coverage of ridgeRegression.
PiperOrigin-RevId: 822278972
2025-10-21 14:30:28 -07:00
Kurt Schwehr
44a12d55a4 kernel_test.py: Add coverage for fixed.
PiperOrigin-RevId: 822274961
2025-10-21 14:21:31 -07:00
Kurt Schwehr
a24e3cb814 model_test.py: Improve coverage of __init__.
PiperOrigin-RevId: 822274841
2025-10-21 14:20:13 -07:00
Kurt Schwehr
c573d72c26 commands.py: Remove unused private function _parse_millis.
PiperOrigin-RevId: 822144912
2025-10-21 09:10:49 -07:00
Kurt Schwehr
1f412d3c7c cli/utils.py: Catch usage of invalid path of the form gcs:///.
PiperOrigin-RevId: 822096851
2025-10-21 06:52:51 -07:00
Kurt Schwehr
a49a1bdcab deserializer: Improve test coverage.
PiperOrigin-RevId: 821812166
2025-10-20 14:39:36 -07:00
Kurt Schwehr
5a0c01fd55 cli/utils.py: Improve file.
PiperOrigin-RevId: 821792098
2025-10-20 13:56:16 -07:00
Kurt Schwehr
50fd00deb0 model_test.py: Improve test coverage.
PiperOrigin-RevId: 821723470
2025-10-20 11:12:26 -07:00
Kurt Schwehr
13b2660b48 terrain_test.py: Test use of __init__ that always raises a RuntimeError and test name()
PiperOrigin-RevId: 819907521
2025-10-15 14:10:40 -07:00
Kurt Schwehr
386529c81e serializer_test.py: Improve test coverage
PiperOrigin-RevId: 819820266
2025-10-15 10:39:57 -07:00
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
Kurt Schwehr
ba9950457b geometry.py: Improve doc string for __init__.
PiperOrigin-RevId: 816201839
2025-10-07 07:39:04 -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
a284e32345 image.py: Improve file.
PiperOrigin-RevId: 814708893
2025-10-03 08:47:19 -07:00
Kurt Schwehr
0f411089ee geometry.py: Improve file
PiperOrigin-RevId: 814694930
2025-10-03 08:01:35 -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
7ba577605d Cleanup spacing after period / fullstop.
PiperOrigin-RevId: 814375235
2025-10-02 13:59:25 -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
ee39e9f21d ee_string.py: Improve file
PiperOrigin-RevId: 813482434
2025-09-30 16:49:27 -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
Kurt Schwehr
fce3999689 ee_array.py: Fix bitsToArray to be marked with @staticmethod
PiperOrigin-RevId: 812889669
2025-09-29 12:09:09 -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
Nate Schmitz
364e04dfb8 arg_types: Add some type annotations to collection.
PiperOrigin-RevId: 812850900
2025-09-29 10:38:33 -07:00
Kurt Schwehr
c57f8ea12b geometry.py: Improve file
PiperOrigin-RevId: 812528605
2025-09-28 14:06:11 -07:00
Kurt Schwehr
a29be983c6 computedobject.py: Improve file
PiperOrigin-RevId: 812071196
2025-09-26 21:00:47 -07:00
Nate Schmitz
5c72fb7c94 data: Improve readability of workload tag class.
PiperOrigin-RevId: 811935860
2025-09-26 13:29:09 -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
7f14354730 _helpers.py: Minor cleanup
PiperOrigin-RevId: 811422439
2025-09-25 11:08:05 -07:00
Kurt Schwehr
6e1f70c7ef apifunction.py: Cleanup comment with the assumption that everything is Python 3.
PiperOrigin-RevId: 811381454
2025-09-25 09:30:16 -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