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

Method getSignature

python/ee/function.py:35–49  ·  view source on GitHub ↗

Returns a description of the interface provided by this function. Returns: The function's signature, a dictionary containing: name: string returns: type name string args: list of argument dictionaries, each containing: name: string type: type na

(self)

Source from the content-addressed store, hash-verified

33 Function._promoter = staticmethod(promoter)
34
35 def getSignature(self) -> dict[str, Any]:
36 """Returns a description of the interface provided by this function.
37
38 Returns:
39 The function's signature, a dictionary containing:
40 name: string
41 returns: type name string
42 args: list of argument dictionaries, each containing:
43 name: string
44 type: type name string
45 optional: boolean
46 default: an arbitrary primitive or encodable object
47 """
48 raise NotImplementedError(
49 'Function subclasses must implement getSignature().')
50
51 def call(self, *args, **kwargs):
52 """Calls the function with the given positional and keyword arguments.

Callers 13

promoteArgsMethod · 0.95
nameArgsMethod · 0.95
getReturnTypeMethod · 0.95
__str__Method · 0.95
date.jsFile · 0.45
function.jsFile · 0.45
dictionary.jsFile · 0.45
string.jsFile · 0.45
ee.jsFile · 0.45
targetFunction · 0.45

Calls

no outgoing calls

Tested by 1