Title: Preparing to use futures in storage. by dhermes · Pull Request #810 · googleapis/google-cloud-python · GitHub
Open Graph Title: Preparing to use futures in storage. by dhermes · Pull Request #810 · googleapis/google-cloud-python
X Title: Preparing to use futures in storage. by dhermes · Pull Request #810 · googleapis/google-cloud-python
Description: Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready. Towards #775 @tseaver LMK what you think of this. The next step (I have yet to write it) is to make Batch._do_request return a future object. These objects will be owned and kept in order by the Batch and eventually populated. (This may be an issue because JSONConnection.api_request will try to parse the response if we use expect_json=True. We simultaneously want to parse the non-batched JSON responses and just ignore the futures)
Open Graph Description: Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready....
X Description: Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready....
Opengraph URL: https://github.com/googleapis/google-cloud-python/pull/810
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d9e2af6c-d57a-2d9f-71b0-3d28518f2133 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EBB0:2EEEB5:F4C90C:14E5184:6A4D6088 |
| html-safe-nonce | 4ab0a05c42735e0a7cce020e328000ef286ed54ee94b66f935e8d2097dd54c72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkIwOjJFRUVCNTpGNEM5MEM6MTRFNTE4NDo2QTRENjA4OCIsInZpc2l0b3JfaWQiOiI2OTMwNTIyODIxNjE4MzkzMjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 433e6f8dc5f2131541d4f661ed8e994a25008a86fa8073287b30cbfe4dcdf7b0 |
| hovercard-subject-tag | pull_request:32915236 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/googleapis/google-cloud-python/pull/810/files |
| twitter:image | https://avatars.githubusercontent.com/u/520669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/520669?s=400&v=4 |
| og:image:alt | Wraps setting/getting of object _properties in custom methods. This will allow centralized detection of a future in a response and will also allow replacing with the value on access if it is ready.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a438513d3a22ffcd713795ed948c3e5525007665 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width