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

Make service_account_email public, read-only #76

Merged
merged 4 commits into from
Nov 8, 2016

Conversation

theacodes
Copy link
Contributor

No description provided.

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.

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.

@@ -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.

This comment was marked as spam.

This comment was marked as spam.

@theacodes theacodes merged commit 61ffb05 into master Nov 8, 2016
@theacodes theacodes deleted the public-service-account-name branch November 8, 2016 17:30
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.

None yet

2 participants