Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array object cannot be extended before ee.Initialize() #173

Open
12rambau opened this issue Jan 28, 2024 · 0 comments
Open

Array object cannot be extended before ee.Initialize() #173

12rambau opened this issue Jan 28, 2024 · 0 comments
Labels
help wanted Extra attention is needed impact: high Something that is relevant to nearly all users kind: bug Something isn't working

Comments

@12rambau
Copy link
Member

ee.Array object is generated during the call to Initialize() 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 ?

@12rambau 12rambau added help wanted Extra attention is needed impact: high Something that is relevant to nearly all users kind: bug Something isn't working labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed impact: high Something that is relevant to nearly all users kind: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant