Skip to content

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

Merged
tseaver merged 4 commits into
googleapis:masterfrom
tseaver:4239-storage-optional_project
Nov 13, 2017
Merged

Make 'project' optional / overridable for storage client#4381
tseaver merged 4 commits into
googleapis:masterfrom
tseaver:4239-storage-optional_project

Conversation

@tseaver

Copy link
Copy Markdown
Contributor

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.
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 10, 2017
from google.cloud.storage.bucket import Bucket


_marker = object()

This comment was marked as spam.

@tseavertseaver changed the title Make 'project' optional / overridabe for storage clientMake 'project' optional / overridable for storage clientNov 13, 2017
@tseaver
tseaver merged commit edade4c into googleapis:masterNov 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.
Closesgoogleapis#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.
Closesgoogleapis#4239
@tseavertseaver mentioned this pull request Jan 10, 2018
parthea pushed a commit that referenced this pull request Mar 9, 2026
* 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#4239
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tseaver@theacodes@googlebot