It makes it unreachable at runtime during import statements.
At first I was Initializing ee directly in the method but since users can no longer Initialize without specifying a cloud project, this is not possible without breaking everything.
For the time being I will silence the Array extention alltogether. @jdbcode do you see a alternative solution to be able to extend dynamically created class ? Maybe some rational on why Arrays are not hard coded in the Python API itself ?
ee.Array
object is generated during the call toInitialize()
method via https://github.com/google/earthengine-api/blob/8fee1d9e26058a0f21a456772a53d376f76d5e3f/python/ee/__init__.py#L371.It makes it unreachable at runtime during import statements.
At first I was Initializing ee directly in the method but since users can no longer Initialize without specifying a cloud project, this is not possible without breaking everything.
For the time being I will silence the Array extention alltogether. @jdbcode do you see a alternative solution to be able to extend dynamically created class ? Maybe some rational on why Arrays are not hard coded in the Python API itself ?