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

Method __eq__

python/ee/apifunction.py:59–61  ·  view source on GitHub ↗
(self, other: Any)

Source from the content-addressed store, hash-verified

57 self._signature['name'] = name
58
59 def __eq__(self, other: Any) -> bool:
60 return (isinstance(other, ApiFunction) and
61 self.getSignature() == other.getSignature())
62
63 # __hash__ is needed because __eq__ is defined.
64 # See https://docs.python.org/3/reference/datamodel.html#object.__hash__

Callers 2

__ne__Method · 0.95
test_internalsMethod · 0.45

Calls 1

getSignatureMethod · 0.95

Tested by 1

test_internalsMethod · 0.36