Title: gcloud.storage.bucket.Bucket.upload_file defaults 'key' to None · Issue #137 · googleapis/google-cloud-python · GitHub
Open Graph Title: gcloud.storage.bucket.Bucket.upload_file defaults 'key' to None · Issue #137 · googleapis/google-cloud-python
X Title: gcloud.storage.bucket.Bucket.upload_file defaults 'key' to None · Issue #137 · googleapis/google-cloud-python
Description: 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 ...
Open Graph Description: 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 elem...
X Description: 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 elem...
Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/137
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"gcloud.storage.bucket.Bucket.upload_file defaults 'key' to None","articleBody":"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.\n","author":{"url":"https://github.com/tseaver","@type":"Person","name":"tseaver"},"datePublished":"2014-09-18T16:05:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/137/google-cloud-python/issues/137"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a91d5c3e-8704-7a92-8c6a-cd89886bbabf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C516:29A67B:102B5E8:17C6FCE:6A4E3773 |
| html-safe-nonce | 01fec24f4d272b519977f953d91882107d2a82c940a07644c5c1417d96712714 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTE2OjI5QTY3QjoxMDJCNUU4OjE3QzZGQ0U6NkE0RTM3NzMiLCJ2aXNpdG9yX2lkIjoiMzc4MjQ5OTA0MTMzOTY1MTk1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a082651301dd07b82f0196e5829a32b28de3da48c33379c5cc51ac132ccd6392 |
| hovercard-subject-tag | issue:43150245 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/google-cloud-python/137/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac5b2c3fb90adc219a8c837c02eb26a46867bf3101a8f74384b1d62faad89049/googleapis/google-cloud-python/issues/137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac5b2c3fb90adc219a8c837c02eb26a46867bf3101a8f74384b1d62faad89049/googleapis/google-cloud-python/issues/137 |
| og:image:alt | 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 elem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tseaver |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 16316451 |
| octolytics-dimension-repository_nwo | googleapis/google-cloud-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 16316451 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-cloud-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width