René's URL Explorer Experiment


Title: docs(spanner): snippet for setting read lock mode by skuruppu · Pull Request #1473 · googleapis/python-spanner · GitHub

Open Graph Title: docs(spanner): snippet for setting read lock mode by skuruppu · Pull Request #1473 · googleapis/python-spanner

X Title: docs(spanner): snippet for setting read lock mode by skuruppu · Pull Request #1473 · googleapis/python-spanner

Description: Snippet shows how to set the read lock mode at the client-level and how to override the option at the transaction-level.

Open Graph Description: Snippet shows how to set the read lock mode at the client-level and how to override the option at the transaction-level.

X Description: Snippet shows how to set the read lock mode at the client-level and how to override the option at the transaction-level.

Opengraph URL: https://github.com/googleapis/python-spanner/pull/1473

X: @github

direct link

Domain: patch-diff.githubusercontent.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:e2ab70bb-c43d-793f-c3aa-c3e25cc1fc86
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8B1A:1E388B:2B6A7FA:3C37160:6977AFD4
html-safe-noncea7f10eac246ef326e24bfd45f111143bf402b7f3f25df3ef0a993c47adf8bb66
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjFBOjFFMzg4QjoyQjZBN0ZBOjNDMzcxNjA6Njk3N0FGRDQiLCJ2aXNpdG9yX2lkIjoiNjYwNzIyODA3OTA0NTA2MjYxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac35697fa05ac2e677ab9c1ac09d7150505d71a8926413d367e4032326ed0cc92b
hovercard-subject-tagpull_request:3158009318
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/python-spanner/1473/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1853bd261fc5fb6f3d22fa0080ef9288e7b18878a5101cd5b7c1cdaf43ba4bdb/googleapis/python-spanner/pull/1473
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1853bd261fc5fb6f3d22fa0080ef9288e7b18878a5101cd5b7c1cdaf43ba4bdb/googleapis/python-spanner/pull/1473
og:image:altSnippet shows how to set the read lock mode at the client-level and how to override the option at the transaction-level.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskuruppu
hostnamegithub.com
expected-hostnamegithub.com
Nonecd86879038a75d35d75e56f263b8ad57328b023c6a7de3aa5f9ca0dfd46935bb
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-spanner git https://github.com/googleapis/python-spanner.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992630
octolytics-dimension-repository_nwogoogleapis/python-spanner
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992630
octolytics-dimension-repository_network_root_nwogoogleapis/python-spanner
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
release8458c691435c924883b72423ecd12134159e1b18
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-spanner%2Fpull%2F1473
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-spanner%2Fpull%2F1473
Sign up https://patch-diff.githubusercontent.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%2Fpython-spanner
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
Reloadhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
googleapis https://patch-diff.githubusercontent.com/googleapis
python-spannerhttps://patch-diff.githubusercontent.com/googleapis/python-spanner
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner
Fork 101 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner
Star 150 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner
Code https://patch-diff.githubusercontent.com/googleapis/python-spanner
Issues 52 https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues
Pull requests 32 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/python-spanner/actions
Projects 0 https://patch-diff.githubusercontent.com/googleapis/python-spanner/projects
Security 0 https://patch-diff.githubusercontent.com/googleapis/python-spanner/security
Insights https://patch-diff.githubusercontent.com/googleapis/python-spanner/pulse
Code https://patch-diff.githubusercontent.com/googleapis/python-spanner
Issues https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues
Pull requests https://patch-diff.githubusercontent.com/googleapis/python-spanner/pulls
Actions https://patch-diff.githubusercontent.com/googleapis/python-spanner/actions
Projects https://patch-diff.githubusercontent.com/googleapis/python-spanner/projects
Security https://patch-diff.githubusercontent.com/googleapis/python-spanner/security
Insights https://patch-diff.githubusercontent.com/googleapis/python-spanner/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fgoogleapis%2Fpython-spanner%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fgoogleapis%2Fpython-spanner%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#issue-comment-box
skuruppuhttps://patch-diff.githubusercontent.com/skuruppu
googleapis:mainhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/tree/main
skuruppu:spanner-lock-mode-sampleshttps://patch-diff.githubusercontent.com/skuruppu/python-spanner/tree/spanner-lock-mode-samples
docs(spanner): snippet for setting read lock mode https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#top
skuruppuhttps://patch-diff.githubusercontent.com/skuruppu
googleapis:mainhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/tree/main
skuruppu:spanner-lock-mode-sampleshttps://patch-diff.githubusercontent.com/skuruppu/python-spanner/tree/spanner-lock-mode-samples
Conversation 5 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
Commits 1 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/commits
Checks 15 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/checks
Files changed https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/skuruppu
skuruppuhttps://patch-diff.githubusercontent.com/skuruppu
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#issue-3795000786
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://patch-diff.githubusercontent.com/skuruppu
docs(spanner): snippet for setting read lock modehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/commits/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
7ddc6dbhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/commits/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
https://patch-diff.githubusercontent.com/skuruppu
skuruppuhttps://patch-diff.githubusercontent.com/skuruppu
code ownershttps://patch-diff.githubusercontent.com/googleapis/python-spanner/blob/3b1792aad1d046b6ae1e5c982f5047289dffd95c/.github/CODEOWNERS#L12
January 9, 2026 00:35https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#event-21936089022
https://patch-diff.githubusercontent.com/skuruppu
skuruppuhttps://patch-diff.githubusercontent.com/skuruppu
partheahttps://patch-diff.githubusercontent.com/parthea
January 9, 2026 00:35https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#event-21936089108
https://patch-diff.githubusercontent.com/apps/snippet-bot
snippet-bothttps://patch-diff.githubusercontent.com/apps/snippet-bot
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#issuecomment-3726558170
samples/samples/snippets.py:3244https://github.com/skuruppu/python-spanner/blob/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2/samples/samples/snippets.py#L3244
snippet-bothttps://github.com/apps/snippet-bot
https://github.com/googleapis/repo-automation-bots/issueshttps://github.com/googleapis/repo-automation-bots/issues
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://patch-diff.githubusercontent.com/apps/product-auto-label
product-auto-labelhttps://patch-diff.githubusercontent.com/apps/product-auto-label
size: m https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#event-21936090916
https://patch-diff.githubusercontent.com/apps/blunderbuss-gcf
blunderbuss-gcfhttps://patch-diff.githubusercontent.com/apps/blunderbuss-gcf
bhatt4982https://patch-diff.githubusercontent.com/bhatt4982
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#event-21936091239
https://patch-diff.githubusercontent.com/apps/product-auto-label
product-auto-labelhttps://patch-diff.githubusercontent.com/apps/product-auto-label
api: spanner https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
samples https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3Asamples
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#event-21936091302
https://patch-diff.githubusercontent.com/apps/gemini-code-assist
gemini-code-assisthttps://patch-diff.githubusercontent.com/apps/gemini-code-assist
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#issuecomment-3726558645
@skuruppuhttps://github.com/skuruppu
1https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#user-content-fn-1-cd2e704fd27d30e7a04301c4e5d6dcc6
herehttps://codeassist.google/code-review/login
documentation pagehttps://developers.google.com/gemini-code-assist/docs/review-github-code
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
@gemini-code-assisthttps://github.com/gemini-code-assist
herehttps://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG
Gemini Code Assist IDE Extensionhttps://cloud.google.com/products/gemini/code-assist
Privacy Noticeshttps://policies.google.com/privacy
Generative AI Prohibited Use Policyhttps://policies.google.com/terms/generative-ai/use-policy
Terms of Servicehttps://policies.google.com/terms
herehttps://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github
use code with cautionhttps://support.google.com/legal/answer/13505487
https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#user-content-fnref-1-cd2e704fd27d30e7a04301c4e5d6dcc6
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://patch-diff.githubusercontent.com/apps/gemini-code-assist
gemini-code-assisthttps://patch-diff.githubusercontent.com/apps/gemini-code-assist
Jan 9, 2026 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#pullrequestreview-3641891287
View reviewed changes https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
gemini-code-assisthttps://patch-diff.githubusercontent.com/apps/gemini-code-assist
https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#pullrequestreview-3641891287
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
samples/samples/snippets.pyhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2#diff-62f4ce45093b6508acb281948c5d4ab7121da9db4d7ad1eb1dd69d58c42a0f1e
gemini-code-assisthttps://patch-diff.githubusercontent.com/apps/gemini-code-assist
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#discussion_r2674391312
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/32601710f6703a1d3cdbb05c7f9f05d1d8c88abc4d4e4d4e25ff218874a45279/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
linkhttp://console.cloud.google.com/gemini-code-assist/agents-tools
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
samples/samples/snippets_test.pyhttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2#diff-68f17b68549041db75595a9f359280586209fb34899e44b65634298465601f35
gemini-code-assisthttps://patch-diff.githubusercontent.com/apps/gemini-code-assist
Jan 9, 2026https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#discussion_r2674391316
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/32601710f6703a1d3cdbb05c7f9f05d1d8c88abc4d4e4d4e25ff218874a45279/68747470733a2f2f7777772e677374617469632e636f6d2f636f64657265766965776167656e742f6d656469756d2d7072696f726974792e737667
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://patch-diff.githubusercontent.com/rahul2393
rahul2393https://patch-diff.githubusercontent.com/rahul2393
Jan 12, 2026 https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473#pullrequestreview-3649750773
View reviewed changes https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-spanner%2Fpull%2F1473
https://patch-diff.githubusercontent.com/rahul2393
rahul2393 https://patch-diff.githubusercontent.com/rahul2393
https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
https://patch-diff.githubusercontent.com/parthea
parthea https://patch-diff.githubusercontent.com/parthea
https://patch-diff.githubusercontent.com/apps/gemini-code-assist
gemini-code-assist[bot] https://patch-diff.githubusercontent.com/apps/gemini-code-assist
https://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473/files/7ddc6dbbb4760dae50e9fc7d3d6aab1549c2ecb2
https://patch-diff.githubusercontent.com/bhatt4982
bhatt4982 https://patch-diff.githubusercontent.com/bhatt4982
api: spanner https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3A%22api%3A%20spanner%22
samples https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3Asamples
size: m https://patch-diff.githubusercontent.com/googleapis/python-spanner/issues?q=state%3Aopen%20label%3A%22size%3A%20m%22
Please reload this pagehttps://patch-diff.githubusercontent.com/googleapis/python-spanner/pull/1473
https://patch-diff.githubusercontent.com/skuruppu
https://patch-diff.githubusercontent.com/rahul2393
https://patch-diff.githubusercontent.com/bhatt4982
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.