René's URL Explorer Experiment


Title: Spanner: Add a .one and .one_or_none method. by lukesneeringer · Pull Request #3784 · googleapis/google-cloud-python · GitHub

Open Graph Title: Spanner: Add a .one and .one_or_none method. by lukesneeringer · Pull Request #3784 · googleapis/google-cloud-python

X Title: Spanner: Add a .one and .one_or_none method. by lukesneeringer · Pull Request #3784 · googleapis/google-cloud-python

Description: Google Cloud Client Libraries for Python. Contribute to googleapis/google-cloud-python development by creating an account on GitHub.

Open Graph Description: @tseaver @jonparrott @vkedia This is a proposal that fixes #3021. I have not implemented tests yet because I want feedback on the surface first. I basically followed the SQLAlchemy model; the itera...

X Description: @tseaver @jonparrott @vkedia This is a proposal that fixes #3021. I have not implemented tests yet because I want feedback on the surface first. I basically followed the SQLAlchemy model; the itera...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1377ee49-d712-e442-f91a-bf322ec00e07
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id918E:A6D52:2B1E775:3C45F15:6A4F6130
html-safe-noncec33336ad1827777fd0b4bb3794db580aba8a137dc3feabd8ed817434d71eaa4f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MThFOkE2RDUyOjJCMUU3NzU6M0M0NUYxNTo2QTRGNjEzMCIsInZpc2l0b3JfaWQiOiIyNDkzNDI4NjQ1NDA3NzExNTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf14a47b7168ab09790e78c04bdacf54801c59ed8cd06f10b961f3a26a5d0ebf3
hovercard-subject-tagpull_request:135167669
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-cloud-python/3784/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8c8fe4f1dfa133da509675f396977e156c6b626419a1551e4b01d77b11c08c79/googleapis/google-cloud-python/pull/3784
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8c8fe4f1dfa133da509675f396977e156c6b626419a1551e4b01d77b11c08c79/googleapis/google-cloud-python/pull/3784
og:image:alt@tseaver @jonparrott @vkedia This is a proposal that fixes #3021. I have not implemented tests yet because I want feedback on the surface first. I basically followed the SQLAlchemy model; the itera...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelukesneeringer
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/pull/3784#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3784
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F3784
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/pull/3784
Reloadhttps://github.com/googleapis/google-cloud-python/pull/3784
Reloadhttps://github.com/googleapis/google-cloud-python/pull/3784
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
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 442 https://github.com/googleapis/google-cloud-python/issues
Pull requests 142 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
lukesneeringerhttps://github.com/lukesneeringer
googleapis:masterhttps://github.com/googleapis/google-cloud-python/tree/master
lukesneeringer:issue-3021https://github.com/lukesneeringer/google-cloud-python/tree/issue-3021
Conversationhttps://github.com/googleapis/google-cloud-python/pull/3784
Commits2 (2)https://github.com/googleapis/google-cloud-python/pull/3784/commits
Checkshttps://github.com/googleapis/google-cloud-python/pull/3784/checks
Files changedhttps://github.com/googleapis/google-cloud-python/pull/3784/files
Spanner: Add a .one and .one_or_none method.https://github.com/googleapis/google-cloud-python/pull/3784#top
lukesneeringerhttps://github.com/lukesneeringer
googleapis:masterhttps://github.com/googleapis/google-cloud-python/tree/master
lukesneeringer:issue-3021https://github.com/lukesneeringer/google-cloud-python/tree/issue-3021
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issue-249403572
@tseaverhttps://github.com/tseaver
@jonparrotthttps://github.com/jonparrott
@vkediahttps://github.com/vkedia
#3021https://github.com/googleapis/google-cloud-python/issues/3021
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
Proposal for a .one and .one_or_none method.https://github.com/googleapis/google-cloud-python/pull/3784/commits/d4aa0e9d305d3fe619018f3ae200b366f0e14c2c
d4aa0e9https://github.com/googleapis/google-cloud-python/pull/3784/commits/d4aa0e9d305d3fe619018f3ae200b366f0e14c2c
https://github.com/googlebot
googlebothttps://github.com/googlebot
cla: yes https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201271700
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
theacodeshttps://github.com/theacodes
tseaverhttps://github.com/tseaver
August 10, 2017 16:25https://github.com/googleapis/google-cloud-python/pull/3784#event-1201271762
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201272005
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
api: spanner https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
cla: yes https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201272147
https://github.com/theacodes
theacodeshttps://github.com/theacodes
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issuecomment-321604775
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/tseaver
tseaverhttps://github.com/tseaver
do not merge https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201546193
https://github.com/tseaver
tseaverhttps://github.com/tseaver
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issuecomment-321647238
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/vkedia
vkediahttps://github.com/vkedia
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issuecomment-321663376
@mcurtisshttps://github.com/mcurtiss
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issuecomment-321663863
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/googlebot
googlebothttps://github.com/googlebot
cla: yes https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201652458
https://github.com/lukesneeringer
Add tests for .one() and .one_or_none()https://github.com/googleapis/google-cloud-python/pull/3784/commits/32538783a99dbfb9cf8f98146ac651ac29b9988c
3253878https://github.com/googleapis/google-cloud-python/pull/3784/commits/32538783a99dbfb9cf8f98146ac651ac29b9988c
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
do not merge https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22do%20not%20merge%22
Aug 10, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1201804010
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
Aug 11, 2017https://github.com/googleapis/google-cloud-python/pull/3784#issuecomment-321860407
@jonparrotthttps://github.com/jonparrott
@tseaverhttps://github.com/tseaver
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/theacodes
theacodeshttps://github.com/theacodes
Aug 11, 2017 https://github.com/googleapis/google-cloud-python/pull/3784#pullrequestreview-55846850
View reviewed changes https://github.com/googleapis/google-cloud-python/pull/3784/files/32538783a99dbfb9cf8f98146ac651ac29b9988c
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
7e960e6https://github.com/googleapis/google-cloud-python/commit/7e960e6915997a64c9ee1424978f94cfd7e9a7b9
Aug 11, 2017https://github.com/googleapis/google-cloud-python/pull/3784#event-1202937412
https://github.com/lukesneeringer
lukesneeringerhttps://github.com/lukesneeringer
August 11, 2017 16:52https://github.com/googleapis/google-cloud-python/pull/3784#event-1202937509
landritohttps://github.com/landrito
Aug 21, 2017 https://github.com/googleapis/google-cloud-python/pull/3784#ref-commit-c10aabd
https://github.com/lukesneeringer
https://github.com/landrito
Add a .one and .one_or_none method. (https://github.com/landrito/google-cloud-python/commit/c10aabd9d4ce1c53f3174afe53e0f04a4ebb2a4c
googleapis#3784https://github.com/googleapis/google-cloud-python/pull/3784
)https://github.com/landrito/google-cloud-python/commit/c10aabd9d4ce1c53f3174afe53e0f04a4ebb2a4c
c10aabdhttps://github.com/landrito/google-cloud-python/commit/c10aabd9d4ce1c53f3174afe53e0f04a4ebb2a4c
landritohttps://github.com/landrito
Aug 22, 2017 https://github.com/googleapis/google-cloud-python/pull/3784#ref-commit-55d8cba
https://github.com/lukesneeringer
https://github.com/landrito
Add a .one and .one_or_none method. (https://github.com/landrito/google-cloud-python/commit/55d8cbaaa77cb36c1d3416d91baa1196239f891c
googleapis#3784https://github.com/googleapis/google-cloud-python/pull/3784
)https://github.com/landrito/google-cloud-python/commit/55d8cbaaa77cb36c1d3416d91baa1196239f891c
55d8cbahttps://github.com/landrito/google-cloud-python/commit/55d8cbaaa77cb36c1d3416d91baa1196239f891c
landritohttps://github.com/landrito
Aug 22, 2017 https://github.com/googleapis/google-cloud-python/pull/3784#ref-commit-6de173f
https://github.com/lukesneeringer
https://github.com/landrito
Add a .one and .one_or_none method. (https://github.com/landrito/google-cloud-python/commit/6de173fd45a6362450d7d9368c0ccd865a452219
googleapis#3784https://github.com/googleapis/google-cloud-python/pull/3784
)https://github.com/landrito/google-cloud-python/commit/6de173fd45a6362450d7d9368c0ccd865a452219
6de173fhttps://github.com/landrito/google-cloud-python/commit/6de173fd45a6362450d7d9368c0ccd865a452219
https://github.com/dhermes
dhermeshttps://github.com/dhermes
Aug 24, 2017 https://github.com/googleapis/google-cloud-python/pull/3784#ref-pullrequest-252739521
Upgrading Spanner to 0.27.0 after google-cloud-core update. #3873 https://github.com/googleapis/google-cloud-python/pull/3873
partheahttps://github.com/parthea
Mar 9, 2026 https://github.com/googleapis/google-cloud-python/pull/3784#ref-commit-519a32b
https://github.com/lukesneeringer
Add a .one and .one_or_none method. (https://github.com/googleapis/google-cloud-python/commit/519a32b5fa54cca5e2b4b6dd2435378ff06f63fd
#3784https://github.com/googleapis/google-cloud-python/pull/3784
)https://github.com/googleapis/google-cloud-python/commit/519a32b5fa54cca5e2b4b6dd2435378ff06f63fd
519a32bhttps://github.com/googleapis/google-cloud-python/commit/519a32b5fa54cca5e2b4b6dd2435378ff06f63fd
https://github.co/hiddenchars
https://github.com/googleapis/google-cloud-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fpull%2F3784
https://github.com/tseaver
tseaver https://github.com/tseaver
https://github.com/theacodes
theacodes https://github.com/theacodes
https://github.com/googleapis/google-cloud-python/pull/3784/files/32538783a99dbfb9cf8f98146ac651ac29b9988c
https://github.com/lukesneeringer
lukesneeringer https://github.com/lukesneeringer
api: spanner https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
cla: yes https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22cla%3A%20yes%22
Add a convenience method to fetch data for a single row https://github.com/googleapis/google-cloud-python/issues/3021
Please reload this pagehttps://github.com/googleapis/google-cloud-python/pull/3784
https://github.com/lukesneeringer
https://github.com/theacodes
https://github.com/tseaver
https://github.com/vkedia
https://github.com/googlebot
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.