Skip to content

Conversation

@theacodes
Copy link
Contributor

This will make it easy to remove some code / branches in google-cloud-python.

@theacodes theacodes changed the title Add created_scoped_if_required helper Add create_scoped_if_required helper Oct 31, 2016
@theacodes theacodes changed the title Add create_scoped_if_required helper Add with_scopes_if_required helper Oct 31, 2016

assert scoped_credentials is not unscoped_credentials
assert not scoped_credentials.requires_scopes
assert scoped_credentials.has_scopes(['one', 'two'])

This comment was marked as spam.

@theacodes theacodes merged commit f89a3cf into master Oct 31, 2016
@theacodes theacodes deleted the with-scopes-if-required branch October 31, 2016 17:52
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