René's URL Explorer Experiment


Title: Adding lazy loading support for dataset ID. by dhermes · Pull Request #667 · googleapis/google-cloud-python · GitHub

Open Graph Title: Adding lazy loading support for dataset ID. by dhermes · Pull Request #667 · googleapis/google-cloud-python

X Title: Adding lazy loading support for dataset ID. by dhermes · Pull Request #667 · googleapis/google-cloud-python

Description: NOTE: Has #666 as diffbase. Still need to support connection (and eventually do the same in storage). Again verified only the lazy loading tests used implicit behavior via diff --git a/gcloud/datastore/_implicit_environ.py b/gcloud/datastore/_implicit_environ.py index 6e61636..6d67be6 100644 --- a/gcloud/datastore/_implicit_environ.py +++ b/gcloud/datastore/_implicit_environ.py @@ -177,6 +177,10 @@ class _LazyProperty(object): self._method = method def __get__(self, obj, objtype): + class FooError(Exception): + pass + raise FooError + if obj is None or objtype is not _DefaultsContainer: return self

Open Graph Description: NOTE: Has #666 as diffbase. Still need to support connection (and eventually do the same in storage). Again verified only the lazy loading tests used implicit behavior via diff --git a/gcloud/datas...

X Description: NOTE: Has #666 as diffbase. Still need to support connection (and eventually do the same in storage). Again verified only the lazy loading tests used implicit behavior via diff --git a/gcloud/datas...

Opengraph URL: https://github.com/googleapis/google-cloud-python/pull/667

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ca50a32d-1fde-6d54-a1e0-8298704ee5cb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9D2:39DBD7:77F2A1:A3DDAC:6A4D45E0
html-safe-nonce969e6539a1013e769371f2313f3edfd40f6ffd8269022e8dd41208b09c13411d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUQyOjM5REJENzo3N0YyQTE6QTNEREFDOjZBNEQ0NUUwIiwidmlzaXRvcl9pZCI6IjY3MTMwODgxMTM2ODg1MjgzNTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac15a957a0549eb7d5c7fce3022701ee5d2acd2f222eda4c852ada4ab53404f1f9
hovercard-subject-tagpull_request:29582301
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/667/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:altNOTE: Has #666 as diffbase. Still need to support connection (and eventually do the same in storage). Again verified only the lazy loading tests used implicit behavior via diff --git a/gcloud/datas...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
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
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/667/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%2F667%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%2F667%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/667/files
Reloadhttps://github.com/googleapis/google-cloud-python/pull/667/files
Reloadhttps://github.com/googleapis/google-cloud-python/pull/667/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/667/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 437 https://github.com/googleapis/google-cloud-python/issues
Pull requests 128 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:lazy-loading-attempt-4https://github.com/dhermes/google-cloud-python/tree/lazy-loading-attempt-4
Conversation 6 https://github.com/googleapis/google-cloud-python/pull/667
Commits 3 https://github.com/googleapis/google-cloud-python/pull/667/commits
Checks 0 https://github.com/googleapis/google-cloud-python/pull/667/checks
Files changed https://github.com/googleapis/google-cloud-python/pull/667/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/667/files
Adding lazy loading support for dataset ID. https://github.com/googleapis/google-cloud-python/pull/667/files#top
Show all changes 3 commits https://github.com/googleapis/google-cloud-python/pull/667/files
8bc3881 Adding lazy loading support for dataset ID. dhermes Feb 19, 2015 https://github.com/googleapis/google-cloud-python/pull/667/commits/8bc3881a09e97a3b4f47160e0851da07f7562d1d
d5d3118 Fixing broken auth in datastore regression tests. dhermes Feb 19, 2015 https://github.com/googleapis/google-cloud-python/pull/667/commits/d5d311825a6efb7f7ef2ef0cefdb70d7f0aab138
b9d96ed Using lazy property decorator instead of test alias. dhermes Feb 19, 2015 https://github.com/googleapis/google-cloud-python/pull/667/commits/b9d96ed9cad61b47712fa88873ce91e983a0d8b5
Clear filters https://github.com/googleapis/google-cloud-python/pull/667/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/667/files
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/667/files
_implicit_environ.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
_testing.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f254b3c7c81a9aa8872ac43ba844841e4aa043ab453a0171fbefa53d45ea38c2
test__implicit_environ.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-4b21bb4cfa38ed6c182c232fae32dd1b486a455bb14f6a28ebc7523bc1fe8529
pylintrc_default https://github.com/googleapis/google-cloud-python/pull/667/files#diff-6a0de1edb1ef35557ee83724936ea254c1f1b7907bac4d07ede317449f09f491
clear_datastore.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-aabf43bc82f2a423bae2c285a07c0836610696a8e7e90f2cd3293b93ae2f1135
datastore.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-153e301833fa6d3a4e2e3d195fdf50f254356ff7d7ae22db36ba59c1bf5dbe97
populate_datastore.py https://github.com/googleapis/google-cloud-python/pull/667/files#diff-eae26e6df348a940118e9d8cc6099af744d7f575a40535201de9f9e1c1456b62
gcloud/datastore/_implicit_environ.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/gcloud/datastore/_implicit_environ.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f7d3d3e95ba5f56371969bc7b2be32a6929471c06e64792861034700f72caa7d
gcloud/datastore/_testing.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-f254b3c7c81a9aa8872ac43ba844841e4aa043ab453a0171fbefa53d45ea38c2
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/gcloud/datastore/_testing.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f254b3c7c81a9aa8872ac43ba844841e4aa043ab453a0171fbefa53d45ea38c2
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-f254b3c7c81a9aa8872ac43ba844841e4aa043ab453a0171fbefa53d45ea38c2
gcloud/datastore/test__implicit_environ.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-4b21bb4cfa38ed6c182c232fae32dd1b486a455bb14f6a28ebc7523bc1fe8529
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/gcloud/datastore/test__implicit_environ.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-4b21bb4cfa38ed6c182c232fae32dd1b486a455bb14f6a28ebc7523bc1fe8529
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-4b21bb4cfa38ed6c182c232fae32dd1b486a455bb14f6a28ebc7523bc1fe8529
pylintrc_defaulthttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-6a0de1edb1ef35557ee83724936ea254c1f1b7907bac4d07ede317449f09f491
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/pylintrc_default
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-6a0de1edb1ef35557ee83724936ea254c1f1b7907bac4d07ede317449f09f491
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-6a0de1edb1ef35557ee83724936ea254c1f1b7907bac4d07ede317449f09f491
regression/clear_datastore.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-aabf43bc82f2a423bae2c285a07c0836610696a8e7e90f2cd3293b93ae2f1135
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/regression/clear_datastore.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-aabf43bc82f2a423bae2c285a07c0836610696a8e7e90f2cd3293b93ae2f1135
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-aabf43bc82f2a423bae2c285a07c0836610696a8e7e90f2cd3293b93ae2f1135
regression/datastore.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-153e301833fa6d3a4e2e3d195fdf50f254356ff7d7ae22db36ba59c1bf5dbe97
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/regression/datastore.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-153e301833fa6d3a4e2e3d195fdf50f254356ff7d7ae22db36ba59c1bf5dbe97
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-153e301833fa6d3a4e2e3d195fdf50f254356ff7d7ae22db36ba59c1bf5dbe97
regression/populate_datastore.pyhttps://github.com/googleapis/google-cloud-python/pull/667/files#diff-eae26e6df348a940118e9d8cc6099af744d7f575a40535201de9f9e1c1456b62
View file https://github.com/dhermes/google-cloud-python/blob/b9d96ed9cad61b47712fa88873ce91e983a0d8b5/regression/populate_datastore.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/667/{{ revealButtonHref }}
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-eae26e6df348a940118e9d8cc6099af744d7f575a40535201de9f9e1c1456b62
https://github.com/googleapis/google-cloud-python/pull/667/files#diff-eae26e6df348a940118e9d8cc6099af744d7f575a40535201de9f9e1c1456b62
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.