René's URL Explorer Experiment


Title: Fix type annotations for Transaction in model.py. · Issue #118 · google/python-spanner-orm · GitHub

Open Graph Title: Fix type annotations for Transaction in model.py. · Issue #118 · google/python-spanner-orm

X Title: Fix type annotations for Transaction in model.py. · Issue #118 · google/python-spanner-orm

Description: Currently model.py uses google.cloud.spanner_v1.transaction.Transaction for all the transaction parameters, but I think the read-only methods are designed to work with google.cloud.spanner_v1.snapshot.Snapshot too. Snapshot is available ...

Open Graph Description: Currently model.py uses google.cloud.spanner_v1.transaction.Transaction for all the transaction parameters, but I think the read-only methods are designed to work with google.cloud.spanner_v1.snaps...

X Description: Currently model.py uses google.cloud.spanner_v1.transaction.Transaction for all the transaction parameters, but I think the read-only methods are designed to work with google.cloud.spanner_v1.snaps...

Opengraph URL: https://github.com/google/python-spanner-orm/issues/118

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix type annotations for Transaction in model.py.","articleBody":"Currently `model.py` uses `google.cloud.spanner_v1.transaction.Transaction` for all the transaction parameters, but I think the read-only methods are designed to work with `google.cloud.spanner_v1.snapshot.Snapshot` too. `Snapshot` is available through the Spanner ORM API in `spanner_orm.api.SpannerReadApi.run_read_only()` and `spanner_orm.decorator.transactional_read()`, so we really should support using correct type annotations for `Snapshot`. Another thing to consider is whether there should be any support for `google.cloud.spanner_v1.batch.Batch` in write-only Model methods.","author":{"url":"https://github.com/dseomn","@type":"Person","name":"dseomn"},"datePublished":"2020-12-30T01:36:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/118/python-spanner-orm/issues/118"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3030aaa8-d1fb-db3e-518c-12b736a03416
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A5A:5218B:140B7B8:1B7A7D8:697B22DC
html-safe-nonce97c6a583a0a735fc1aeb596f9ca3cb268a397be15ed1bac93c811bc464736898
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTVBOjUyMThCOjE0MEI3Qjg6MUI3QTdEODo2OTdCMjJEQyIsInZpc2l0b3JfaWQiOiIxMDA4NDIwMjc4MDUwMTY5NTY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac78d85da0ab03ea92ed1300449fcdd5365091b7a7b3572e17ed9fb40f483ba172
hovercard-subject-tagissue:776157319
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/python-spanner-orm/118/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3bd70d91a9e2b4d603cbbc97a84e83a8baac5659321e931fb0031b492898f092/google/python-spanner-orm/issues/118
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3bd70d91a9e2b4d603cbbc97a84e83a8baac5659321e931fb0031b492898f092/google/python-spanner-orm/issues/118
og:image:altCurrently model.py uses google.cloud.spanner_v1.transaction.Transaction for all the transaction parameters, but I think the read-only methods are designed to work with google.cloud.spanner_v1.snaps...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedseomn
hostnamegithub.com
expected-hostnamegithub.com
None7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8
turbo-cache-controlno-preview
go-importgithub.com/google/python-spanner-orm git https://github.com/google/python-spanner-orm.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id155757264
octolytics-dimension-repository_nwogoogle/python-spanner-orm
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id155757264
octolytics-dimension-repository_network_root_nwogoogle/python-spanner-orm
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
release82440e908b5650143b0930c6bf91e184f2bad20c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/google/python-spanner-orm/issues/118#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-spanner-orm%2Fissues%2F118
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%2Fgoogle%2Fpython-spanner-orm%2Fissues%2F118
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=google%2Fpython-spanner-orm
Reloadhttps://patch-diff.githubusercontent.com/google/python-spanner-orm/issues/118
Reloadhttps://patch-diff.githubusercontent.com/google/python-spanner-orm/issues/118
Reloadhttps://patch-diff.githubusercontent.com/google/python-spanner-orm/issues/118
google https://patch-diff.githubusercontent.com/google
python-spanner-ormhttps://patch-diff.githubusercontent.com/google/python-spanner-orm
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogle%2Fpython-spanner-orm
Fork 14 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogle%2Fpython-spanner-orm
Star 40 https://patch-diff.githubusercontent.com/login?return_to=%2Fgoogle%2Fpython-spanner-orm
Code https://patch-diff.githubusercontent.com/google/python-spanner-orm
Issues 17 https://patch-diff.githubusercontent.com/google/python-spanner-orm/issues
Pull requests 7 https://patch-diff.githubusercontent.com/google/python-spanner-orm/pulls
Actions https://patch-diff.githubusercontent.com/google/python-spanner-orm/actions
Projects 0 https://patch-diff.githubusercontent.com/google/python-spanner-orm/projects
Security 0 https://patch-diff.githubusercontent.com/google/python-spanner-orm/security
Insights https://patch-diff.githubusercontent.com/google/python-spanner-orm/pulse
Code https://patch-diff.githubusercontent.com/google/python-spanner-orm
Issues https://patch-diff.githubusercontent.com/google/python-spanner-orm/issues
Pull requests https://patch-diff.githubusercontent.com/google/python-spanner-orm/pulls
Actions https://patch-diff.githubusercontent.com/google/python-spanner-orm/actions
Projects https://patch-diff.githubusercontent.com/google/python-spanner-orm/projects
Security https://patch-diff.githubusercontent.com/google/python-spanner-orm/security
Insights https://patch-diff.githubusercontent.com/google/python-spanner-orm/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/google/python-spanner-orm/issues/118
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/google/python-spanner-orm/issues/118
Fix type annotations for Transaction in model.py.https://patch-diff.githubusercontent.com/google/python-spanner-orm/issues/118#top
https://github.com/dseomn
https://github.com/dseomn
dseomnhttps://github.com/dseomn
on Dec 30, 2020https://github.com/google/python-spanner-orm/issues/118#issue-776157319
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.