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 'project' optional / overridable for storage client #4381

Merged
merged 4 commits into from
Nov 13, 2017
Merged

Make 'project' optional / overridable for storage client #4381

merged 4 commits into from
Nov 13, 2017

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Nov 10, 2017

Closes #4239.

Overrides 'client.project': raise if not passed, and 'client.project' is None.
…et'.

Overrides 'client.project': raise if not passed, and 'client.project' is None.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 10, 2017
@@ -26,10 +26,13 @@
from google.cloud.storage.bucket import Bucket


_marker = object()

This comment was marked as spam.

@tseaver tseaver changed the title Make 'project' optional / overridabe for storage client Make 'project' optional / overridable for storage client Nov 13, 2017
@tseaver tseaver merged commit edade4c into googleapis:master Nov 13, 2017
@tseaver tseaver deleted the 4239-storage-optional_project branch November 13, 2017 17:31
chemelnucfin pushed a commit to chemelnucfin/google-cloud-python that referenced this pull request Nov 15, 2017
…4381)


* Honor explicit 'project=None' for client.

* Add explicit 'project' param to'list_buckets'.

* Add explicit 'project' param to 'Bucket.create' / 'Client.create_buck…

* Enforce that 'topic_project' is passed if 'Client.project' is None.

Closes googleapis#4239
chemelnucfin pushed a commit to chemelnucfin/google-cloud-python that referenced this pull request Nov 15, 2017
…4381)


* Honor explicit 'project=None' for client.

* Add explicit 'project' param to'list_buckets'.

* Add explicit 'project' param to 'Bucket.create' / 'Client.create_buck…

* Enforce that 'topic_project' is passed if 'Client.project' is None.

Closes googleapis#4239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants