René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d9e2af6c-d57a-2d9f-71b0-3d28518f2133
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBB0:2EEEB5:F4C90C:14E5184:6A4D6088
html-safe-nonce4ab0a05c42735e0a7cce020e328000ef286ed54ee94b66f935e8d2097dd54c72
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkIwOjJFRUVCNTpGNEM5MEM6MTRFNTE4NDo2QTRENjA4OCIsInZpc2l0b3JfaWQiOiI2OTMwNTIyODIxNjE4MzkzMjI0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac433e6f8dc5f2131541d4f661ed8e994a25008a86fa8073287b30cbfe4dcdf7b0
hovercard-subject-tagpull_request:32915236
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/googleapis/google-cloud-python/pull/810/files
twitter:imagehttps://avatars.githubusercontent.com/u/520669?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/520669?s=400&v=4
og:image:altWraps 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/googleapis/google-cloud-python git https://github.com/googleapis/google-cloud-python.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id16316451
octolytics-dimension-repository_nwogoogleapis/google-cloud-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id16316451
octolytics-dimension-repository_network_root_nwogoogleapis/google-cloud-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea438513d3a22ffcd713795ed948c3e5525007665
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/810/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F810%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F810%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/pull/810/files
Reloadhttps://github.com/googleapis/google-cloud-python/pull/810/files
Reloadhttps://github.com/googleapis/google-cloud-python/pull/810/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/810/files
googleapis https://github.com/googleapis
google-cloud-pythonhttps://github.com/googleapis/google-cloud-python
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Fork 1.7k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Star 5.3k https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python
Code https://github.com/googleapis/google-cloud-python
Issues 438 https://github.com/googleapis/google-cloud-python/issues
Pull requests 130 https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality 0 https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
Code https://github.com/googleapis/google-cloud-python
Issues https://github.com/googleapis/google-cloud-python/issues
Pull requests https://github.com/googleapis/google-cloud-python/pulls
Discussions https://github.com/googleapis/google-cloud-python/discussions
Actions https://github.com/googleapis/google-cloud-python/actions
Projects https://github.com/googleapis/google-cloud-python/projects
Security and quality https://github.com/googleapis/google-cloud-python/security
Insights https://github.com/googleapis/google-cloud-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2Fnew%2Fchoose
dhermeshttps://github.com/dhermes
googleapis:masterhttps://github.com/googleapis/google-cloud-python/tree/master
dhermes:prepare-for-storage-futureshttps://github.com/dhermes/google-cloud-python/tree/prepare-for-storage-futures
Conversation 12 https://github.com/googleapis/google-cloud-python/pull/810
Commits 1 https://github.com/googleapis/google-cloud-python/pull/810/commits
Checks 0 https://github.com/googleapis/google-cloud-python/pull/810/checks
Files changed 5 https://github.com/googleapis/google-cloud-python/pull/810/files
Preparing to use futures in storage. https://github.com/googleapis/google-cloud-python/pull/810/files#top
Show all changes 1 commit https://github.com/googleapis/google-cloud-python/pull/810/files
50da3a3 Preparing to use futures in storage. dhermes Apr 10, 2015 https://github.com/googleapis/google-cloud-python/pull/810/commits/50da3a3cd288c9ce98568e8204b6bbcf4a994035
Clear filters https://github.com/googleapis/google-cloud-python/pull/810/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/810/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/810/files
_helpers.py https://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
api.py https://github.com/googleapis/google-cloud-python/pull/810/files#diff-379f08f3a9cf3cfe8bc2847ee6f5bbec3091f523886d80e9bf38751a94e812fd
blob.py https://github.com/googleapis/google-cloud-python/pull/810/files#diff-13b2d386740ae08e3ce5d8e6f8765a84f76eb5a6babd25c6177dd7f58d04f3d0
bucket.py https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
iterator.py https://github.com/googleapis/google-cloud-python/pull/810/files#diff-83c0bfdead0e8431dde0cba26b4ae87bfecd39090d86aef1760f3b7c5b7f2f5c
gcloud/storage/_helpers.pyhttps://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
View file https://github.com/dhermes/google-cloud-python/blob/50da3a3cd288c9ce98568e8204b6bbcf4a994035/gcloud/storage/_helpers.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/810/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-4248f5fc7279baf701a4d99b6e5a44edd83867946467eed22c892bb80e50be65
gcloud/storage/api.pyhttps://github.com/googleapis/google-cloud-python/pull/810/files#diff-379f08f3a9cf3cfe8bc2847ee6f5bbec3091f523886d80e9bf38751a94e812fd
View file https://github.com/dhermes/google-cloud-python/blob/50da3a3cd288c9ce98568e8204b6bbcf4a994035/gcloud/storage/api.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/810/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-379f08f3a9cf3cfe8bc2847ee6f5bbec3091f523886d80e9bf38751a94e812fd
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-379f08f3a9cf3cfe8bc2847ee6f5bbec3091f523886d80e9bf38751a94e812fd
gcloud/storage/blob.pyhttps://github.com/googleapis/google-cloud-python/pull/810/files#diff-13b2d386740ae08e3ce5d8e6f8765a84f76eb5a6babd25c6177dd7f58d04f3d0
View file https://github.com/dhermes/google-cloud-python/blob/50da3a3cd288c9ce98568e8204b6bbcf4a994035/gcloud/storage/blob.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/810/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-13b2d386740ae08e3ce5d8e6f8765a84f76eb5a6babd25c6177dd7f58d04f3d0
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F810%2Ffiles
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/810/files
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F810%2Ffiles
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/810/files
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-13b2d386740ae08e3ce5d8e6f8765a84f76eb5a6babd25c6177dd7f58d04f3d0
gcloud/storage/bucket.pyhttps://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
View file https://github.com/dhermes/google-cloud-python/blob/50da3a3cd288c9ce98568e8204b6bbcf4a994035/gcloud/storage/bucket.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/810/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-6f9d890684ef30fb4e4522d7711867e8a4525a66d69664cdb99bd7992ad17b44
gcloud/storage/iterator.pyhttps://github.com/googleapis/google-cloud-python/pull/810/files#diff-83c0bfdead0e8431dde0cba26b4ae87bfecd39090d86aef1760f3b7c5b7f2f5c
View file https://github.com/dhermes/google-cloud-python/blob/50da3a3cd288c9ce98568e8204b6bbcf4a994035/gcloud/storage/iterator.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/810/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-83c0bfdead0e8431dde0cba26b4ae87bfecd39090d86aef1760f3b7c5b7f2f5c
https://github.com/googleapis/google-cloud-python/pull/810/files#diff-83c0bfdead0e8431dde0cba26b4ae87bfecd39090d86aef1760f3b7c5b7f2f5c
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.