MCPcopy
hub / github.com/google/earthengine-api / _get_project

Method _get_project

python/ee/cli/utils.py:119–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

117 storage.Client(project=project, credentials=creds))
118
119 def _get_project(self) -> str:
120 # If a --project flag is passed into a command, it supersedes the one set
121 # by calling the set_project command.
122 if self.project_override:
123 return self.project_override
124 else:
125 return self.project
126
127 def ee_init(self) -> None:
128 """Loads the EE credentials and initializes the EE client."""

Callers 2

create_gcs_helperMethod · 0.95
ee_initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected