-
Notifications
You must be signed in to change notification settings - Fork 310
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
Make service_account_email public, read-only #76
Conversation
if self._service_account_id is not None: | ||
return self._service_account_id | ||
else: | ||
return app_identity.get_service_account_name() |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
def service_account_email(self): | ||
"""The service account email. | ||
|
||
.. Note: This is not guarenteed to be set until :meth`refresh` has been |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -58,7 +60,7 @@ def test_refresh_success(self, get_mock, now_mock): | |||
datetime.datetime.min + datetime.timedelta(seconds=500)) | |||
|
|||
# Check the credential info | |||
assert (self.credentials._service_account_email == | |||
assert (self.credentials.service_account_email == |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
No description provided.