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

Method lookupInternal

python/ee/apifunction.py:147–157  ·  view source on GitHub ↗

Looks up an API function by name. Args: name: The name of the function to get. Returns: The requested ApiFunction or None if not found.

(cls, name: str)

Source from the content-addressed store, hash-verified

145
146 @classmethod
147 def lookupInternal(cls, name: str) -> ApiFunction | None:
148 """Looks up an API function by name.
149
150 Args:
151 name: The name of the function to get.
152
153 Returns:
154 The requested ApiFunction or None if not found.
155 """
156 cls.initialize()
157 return cls._api.get(name, None)
158
159 @classmethod
160 def initialize(cls) -> None:

Callers 8

setMethod · 0.80
_PromoteFunction · 0.80
initFunction · 0.80
lookupMethod · 0.80
element.jsFile · 0.80
ee.jsFile · 0.80
targetFunction · 0.80
apifunction.jsFile · 0.80

Calls 2

initializeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected