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

Method encode

python/ee/ee_string.py:72–76  ·  view source on GitHub ↗
(self, encoder: Any = None)

Source from the content-addressed store, hash-verified

70
71 @_utils.accept_opt_prefix('opt_encoder')
72 def encode(self, encoder: Any = None) -> Any:
73 if isinstance(self._string, str):
74 return self._string
75 else:
76 return super().encode(encoder)
77
78 @_utils.accept_opt_prefix('opt_encoder')
79 def encode_cloud_value(self, encoder: Any = None) -> Any:

Callers 2

test_stringMethod · 0.95

Calls

no outgoing calls

Tested by 2

test_stringMethod · 0.76