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 number as configurable as project id #118

Open
mummoo opened this issue Jan 4, 2022 · 1 comment
Open

Make project number as configurable as project id #118

mummoo opened this issue Jan 4, 2022 · 1 comment

Comments

@mummoo
Copy link

mummoo commented Jan 4, 2022

Is your feature request related to a problem? Please describe.
project number for the buckets is hardcoded as "1234".

"projectNumber": "1234",

This is not a valid GCP project number. So, instead allow this to be configurable in the same as the project id.

Describe the solution you'd like
Make the project number configurable.

        storage_client = storage.Client.create_anonymous_client()
        storage_client.project_number = <value> 

Describe alternatives you've considered
None

Additional context
None

@oittaa
Copy link
Owner

oittaa commented Jan 4, 2022

Project number doesn't seem to be included in the bucket creation query. Is it passed along somewhere else?

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

No branches or pull requests

2 participants