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

Explicitly initialize eerepr #2183

Merged
merged 2 commits into from
Dec 1, 2024
Merged

Conversation

aazuspan
Copy link
Contributor

Hi @giswqs and team. I'm planning to update eerepr in the near future (aazuspan/eerepr#39) to require explicit initialization for attaching the repr methods instead of initializing on import. In other words, HTML reprs will only be available once eerepr.initialize is explicitly called.

This PR would allow geemap to continue automatically initializing eerepr after that release. This is backwards compatible since the initialize function was already available in past releases. The only downside will be a couple redundant setattr calls on import.

Happy to discuss further, especially if there are any concerns about synchronizing the release or downstream impacts on Earth Engine documentation (I don't foresee any).

Copy link
Member

@giswqs giswqs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the PR.

@giswqs giswqs merged commit 4be9dfe into gee-community:master Dec 1, 2024
15 checks passed
@aazuspan aazuspan deleted the eerepr-init branch December 1, 2024 04:40
@jdbcode
Copy link
Member

jdbcode commented Dec 2, 2024

Thanks, @aazuspan!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants