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

Method encode

python/ee/customfunction.py:51–56  ·  view source on GitHub ↗
(self, encoder: Callable[[Any], Any])

Source from the content-addressed store, hash-verified

49 self._body = body(*variables)
50
51 def encode(self, encoder: Callable[[Any], Any]) -> dict[str, Any]:
52 return {
53 'type': 'Function',
54 'argumentNames': [x['name'] for x in self._signature['args']],
55 'body': encoder(self._body)
56 }
57
58 def encode_cloud_value(self, encoder: Callable[[Any], Any]) -> dict[str, Any]:
59 return {

Callers 2

encode_invocationMethod · 0.95
_resolveNamelessArgsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected