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

Method run

python/ee/cli/commands.py:1107–1116  ·  view source on GitHub ↗
(
      self, args: argparse.Namespace, config: utils.CommandLineConfig
  )

Source from the content-addressed store, hash-verified

1105 help='Print the progress of the operation to the console.')
1106
1107 def run(
1108 self, args: argparse.Namespace, config: utils.CommandLineConfig
1109 ) -> None:
1110 config.ee_init()
1111 for asset in args.asset_id:
1112 recursive = args.recursive
1113 if recursive:
1114 info = self._safe_get_info(asset, args.verbose)
1115 recursive = info and info['type'] in self.recursive_types
1116 self._delete_asset(asset, recursive, args.verbose, args.dry_run)
1117
1118 def _safe_get_info(self, asset_id, verbose):
1119 try:

Callers 5

_run_commandFunction · 0.45
mainFunction · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 3

_safe_get_infoMethod · 0.95
_delete_assetMethod · 0.95
ee_initMethod · 0.80

Tested by

no test coverage detected