Conversation
…... if the project has not been initialized
|
@12rambau, I think there's something that doesn't allow to run the workflow jobs |
|
that's normal you are a first time contributor on this one. Let authorize it |
|
I'll take time to review it on sunday but as it is i think i won't let it fly. The reason why I force users to set the EARTHENGINE_PROJECT variable even when normal credentials are used is that i cannot rely on credentials to access the cloud project name consistently. So if any downstream code needs this variable then your test will only work with personnal token. I reported it in the Google issue tracker and I think it's a major flow of the project implementation: https://issuetracker.google.com/issues/325020447 |
|
@12rambau, I understand the issue, but what if we set the |
To make this package more useful not only for ee service accounts, I have added the following:
EARTHENGINE_TOKENsecrets, and make the authentication process optional when there is one or the otherearthengine authenticate, there is a way to set a project, you can do it by usingeartheingine set_project "project_name", and the value will be stored in the credentials file, I have modified the initialization method so it can get the project from there.I hope I have gotten your idea with this.