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

Modify user agent string for geemap.core #1748

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

bengalin
Copy link
Collaborator

@bengalin bengalin commented Oct 2, 2023

No description provided.

@@ -122,7 +124,7 @@ def ee_initialize(
ee.Authenticate(**auth_args)
ee.Initialize(**kwargs)

ee.data.setUserAgent(user_agent)
ee.data.setUserAgent(user_agent)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved this outside the if ee.data._credentials is None: block so that we re-set the user agent string when there are multiple Maps (it is possible some are core and some are not).

@giswqs
Copy link
Member

giswqs commented Oct 2, 2023

Looks like the recent codespell update catches more typos not related to this PR. Merging this now and will fix the typo in another PR.

@giswqs giswqs merged commit 31c31f2 into gee-community:master Oct 2, 2023
8 of 13 checks passed
@giswqs
Copy link
Member

giswqs commented Oct 2, 2023

Should we make a patch release now so that it can be picked up by Colab? @jdbcode

@bengalin
Copy link
Collaborator Author

bengalin commented Oct 3, 2023

Should we make a patch release now so that it can be picked up by Colab? @jdbcode

@naschmitz too

@giswqs
Copy link
Member

giswqs commented Oct 3, 2023

I just made a patch release. @jdbcode mentioned that the Colab team might update the packages around Oct. 4. Hopefully they will pull our latest release that includes this user agent update.

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.

2 participants