You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gcloud.storage.bucket.Bucket.upload_file defaults 'key' to None #137
The API cannot do anything useful with the default: either it should be a required argument, or else the method should do something sensible if it is not passed. E.g., one might crack the last element of the filename off and use that as a default key.
Activity
tseaver commentedon Sep 22, 2014
The docstring actually requires the latter choice:
https://github.com/GoogleCloudPlatform/gcloud-python/blob/1f2aaf3606802f4f02eeb30e22e1082ef7f4594e/gcloud/storage/bucket.py#L234
Merge pull request #191 from tseaver/137-upload_file-guess_key_based_…
Merge pull request googleapis#137 from jgeewax/koss-collection-5
93 remaining items
chore(deps): update dependency pytest to v6.2.4 (#137)
chore(python): disable dependency dashboard (#137)
chore: release 2.1.1 (#137)
ci(python): run lint / unit tests / docs as GH actions (#137)
refactor: Refactor of hocr functions and fixing lost changes (#137)
docs: omit mention of Python 2.7 in 'CONTRIBUTING.rst' (#1127) (#137)
chore: release 1.2.0 (#141)
Separate oauthlib integration into its own package (#137)
chore(deps): update pypa/cibuildwheel action to v2.8.0 (#137)
feat: support computed columns (#139)
chore: release 1.0.0 (#167)
feat: add helper for bucket bound hostname URLs (#137)
docs: update samples dep to 'google-cloud-spanner==1.19.0' (#137)
chore: release 1.19.1 (#144)
chore(deps): update pypa/cibuildwheel action to v2.8.0 (#137)