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

Method initialize

python/ee/imagecollection.py:77–83  ·  view source on GitHub ↗

Imports API functions to this class.

(cls)

Source from the content-addressed store, hash-verified

75
76 @classmethod
77 def initialize(cls) -> None:
78 """Imports API functions to this class."""
79 if not cls._initialized:
80 super().initialize()
81 apifunction.ApiFunction.importApi(cls, cls.name(), cls.name())
82 apifunction.ApiFunction.importApi(cls, 'reduce', cls.name())
83 cls._initialized = True
84
85 @classmethod
86 def reset(cls) -> None:

Callers 1

__init__Method · 0.95

Calls 2

importApiMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected