earthengine-api 1.5.18rc0__py3-none-any.whl → 1.5.19rc0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of earthengine-api might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: earthengine-api
3
- Version: 1.5.18rc0
3
+ Version: 1.5.19rc0
4
4
  Summary: Earth Engine Python API
5
5
  Author-email: Google LLC <noreply@google.com>
6
6
  License: Apache-2.0
@@ -1,5 +1,5 @@
1
- earthengine_api-1.5.18rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
- ee/__init__.py,sha256=6RjzWVNMZqeufgsj1sjurc1ivZoNI54QTq9UQk0re5g,16857
1
+ earthengine_api-1.5.19rc0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
2
+ ee/__init__.py,sha256=Oc2Gw44khM06YkO5ryHZXAYY3Xbmg3fA6T1z6KNG4Os,16867
3
3
  ee/_arg_types.py,sha256=iKWKK4KjkgIv6s4hZDCakHLdBxVp3jcoBsbaJYjtIe4,2674
4
4
  ee/_cloud_api_utils.py,sha256=ABvZ6h80GHndnoDVM6Q0i8xsFe4z5gD6K1sGpU4T8TA,32485
5
5
  ee/_helpers.py,sha256=roBMok5ZvoWmQx2Pd4F26uTFN1q-SNeoFiHo-aGuE0A,4684
@@ -100,8 +100,8 @@ ee/tests/reducer_test.py,sha256=wzwESob1ZPtC2IfkmDYFkL631Ph9VtmCl2UhQQOzZBc,3152
100
100
  ee/tests/serializer_test.py,sha256=5aApenGb9_tOTM4J8zFcT0JFzAOO_Av6dYGFz93COP8,8814
101
101
  ee/tests/table_converter_test.py,sha256=HSZpEvDG-H1RATnQXcZNR8O3kEJdJ3rHc-46KTiOWpY,3385
102
102
  ee/tests/terrain_test.py,sha256=kV901v89SBKzgSNqG6k3wxh3IdDfQeNdxmD5f9ouV18,4334
103
- earthengine_api-1.5.18rc0.dist-info/METADATA,sha256=X9RPYtKvIZbAOD9yHhMVMVeVmrLDBbcRyI-iB9RWMcA,2146
104
- earthengine_api-1.5.18rc0.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
105
- earthengine_api-1.5.18rc0.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
106
- earthengine_api-1.5.18rc0.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
107
- earthengine_api-1.5.18rc0.dist-info/RECORD,,
103
+ earthengine_api-1.5.19rc0.dist-info/METADATA,sha256=p4-ikf7A80u_JJ9MyfjASuwASJ4ugXBJ6qjDN-Ri8-o,2146
104
+ earthengine_api-1.5.19rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
105
+ earthengine_api-1.5.19rc0.dist-info/entry_points.txt,sha256=-Ax4SCU-S474r8OD2LIxata6PRmkZoDrppQ4fP_exNc,50
106
+ earthengine_api-1.5.19rc0.dist-info/top_level.txt,sha256=go5zOwCgm5lIS3yTR-Vsxp1gNI4qdS-MP5eY-7zMxVY,3
107
+ earthengine_api-1.5.19rc0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
ee/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  """The EE Python library."""
2
2
 
3
- __version__ = '1.5.18rc0'
3
+ __version__ = '1.5.19rc0'
4
4
 
5
5
  # Using lowercase function naming to match the JavaScript names.
6
6
  # pylint: disable=g-bad-name
@@ -193,10 +193,10 @@ def Initialize(
193
193
  project = project or None
194
194
  # A project must be given, but SDK projects are not authorized for EE.
195
195
  is_valid_project = project and not oauth.is_sdk_project(project)
196
- is_sa_creds = isinstance(credentials, service_account.Credentials)
197
196
  # An explicit project is not required for service accounts, since they use
198
197
  # their containing project by default.
199
- if not is_valid_project and not is_sa_creds:
198
+ empty_project_ok = isinstance(credentials, service_account.Credentials)
199
+ if not is_valid_project and not empty_project_ok:
200
200
  raise EEException(NO_PROJECT_EXCEPTION)
201
201
 
202
202
  data.initialize(