René's URL Explorer Experiment


Title: Integrating NDB into gcloud.datastore? · Issue #557 · googleapis/google-cloud-python · GitHub

Open Graph Title: Integrating NDB into gcloud.datastore? · Issue #557 · googleapis/google-cloud-python

X Title: Integrating NDB into gcloud.datastore? · Issue #557 · googleapis/google-cloud-python

Description: Had a few discussions with @GoogleCloudPlatform/cloud-datastore (particularly @pcostell) so I wanted to summarize the things we covered. This issue is to clarify the goals for Datastore support in gcloud-python, and discuss and decide on...

Open Graph Description: Had a few discussions with @GoogleCloudPlatform/cloud-datastore (particularly @pcostell) so I wanted to summarize the things we covered. This issue is to clarify the goals for Datastore support in ...

X Description: Had a few discussions with @GoogleCloudPlatform/cloud-datastore (particularly @pcostell) so I wanted to summarize the things we covered. This issue is to clarify the goals for Datastore support in ...

Opengraph URL: https://github.com/googleapis/google-cloud-python/issues/557

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Integrating NDB into gcloud.datastore?","articleBody":"Had a few discussions with @GoogleCloudPlatform/cloud-datastore (particularly @pcostell) so I wanted to summarize the things we covered. This issue is to clarify the goals for Datastore support in gcloud-python, and discuss and decide on a course of action that everyone likes for how to reconcile what we have today with the other libraries out there.\n\n---\n### Current state of the world\n\nCurrently, I see two styles that people want to use when interacting with Datastore:\n1. a \"simple\" more key-value-based style (similar to Amazon's Simple DB) where you're CRUDding dictionaries and then adding some querying\n2. a more advanced ORM style where you're create models, and have some sort of schema defined in a Python file.\n\nFor the former, `gcloud.datastore` has had the goal of covering this use case. For the latter, `ndb` is the latest way (supported) way of doing this -- with others potentially existing, but `ndb` seems to be the clear leader.\n\nWe also have a unique situation where our code currently might have trouble running in App Engine -- whereas `ndb` can't run _outside_ of App Engine. The layout sort of looks like this:\n\n![current state](https://cloud.githubusercontent.com/assets/112928/5779860/4e3edeec-9d74-11e4-88aa-06ea07d878f1.png)\n### Looking forward\n\nIf our goals are ....\n1. We agree that both styles of interacting with Datastore matter (and both should exist)\n2. `gcloud.datastore` and `ndb` are our choices for each style respectively\n3. `gcloud.datastore` and `ndb` should both run in App Engine _and_ non-App Engine runtimes\n4. `gcloud.datastore` is where all the recommended Python stuff to talk to Datastore should live (it is the \"official source of truth\")\n5. People who want to write new Python libraries for Datastore can rely on code that exists in `gcloud.datastore` (and set `gcloud` as a Python dependency)\n\n... then I'd like to suggest that we....\n1. Port `ndb` over as `gcloud.datastore.ndb` (bringing with it `datastore_rpc` and `datastore_query`)\n2. Rewrite `gcloud.datastore` to run on top of `datastore_query`\n3. Rename `gcloud.datastore` to be a peer with `ndb` (using \"simple\" in this diagram, not set on that at all though).\n\nwhich makes things look like this:\n\n![future state](https://cloud.githubusercontent.com/assets/112928/5780010/39a9a664-9d75-11e4-8a31-60b44f24ed4b.png)\n\nWhat do you guys think?\n\n/cc @GoogleCloudPlatform/cloud-datastore @dhermes @tseaver @silvolu @proppy \n","author":{"url":"https://github.com/jgeewax","@type":"Person","name":"jgeewax"},"datePublished":"2015-01-16T16:52:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":43},"url":"https://github.com/557/google-cloud-python/issues/557"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4589375b-95e5-bac6-baf2-f308a4b40622
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8874:D7451:FF34E1:159DC0C:6A4D6436
html-safe-nonceacc9591e56ed7de9187e39f37dccfd7ef244eff7d2762f16324fc22e4a120968
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODc0OkQ3NDUxOkZGMzRFMToxNTlEQzBDOjZBNEQ2NDM2IiwidmlzaXRvcl9pZCI6IjIwODgwNTkwMTA1NTY5NzgyMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac27ca2af2a2664343193de05390ae69c7b61e63102859a91bc556bc979864d6c0
hovercard-subject-tagissue:54597589
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/googleapis/google-cloud-python/557/issue_layout
twitter:imagehttps://opengraph.githubassets.com/53958e5f4be9fec87db8bd5ae03a10b6c4b83406c8cda476cc4222e95fce6d29/googleapis/google-cloud-python/issues/557
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53958e5f4be9fec87db8bd5ae03a10b6c4b83406c8cda476cc4222e95fce6d29/googleapis/google-cloud-python/issues/557
og:image:altHad a few discussions with @GoogleCloudPlatform/cloud-datastore (particularly @pcostell) so I wanted to summarize the things we covered. This issue is to clarify the goals for Datastore support in ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejgeewax
hostnamegithub.com
expected-hostnamegithub.com
Nonee6658d7c7808aeed776f841e0839b885fce343c9b96244be612c779298e7661e
turbo-cache-controlno-preview
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
releasea438513d3a22ffcd713795ed948c3e5525007665
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/google-cloud-python/issues/557#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-cloud-python%2Fissues%2F557
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%2Fissues%2F557
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fgoogle-cloud-python
Reloadhttps://github.com/googleapis/google-cloud-python/issues/557
Reloadhttps://github.com/googleapis/google-cloud-python/issues/557
Reloadhttps://github.com/googleapis/google-cloud-python/issues/557
Please reload this pagehttps://github.com/googleapis/google-cloud-python/issues/557
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 129 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
Integrating NDB into gcloud.datastore?https://github.com/googleapis/google-cloud-python/issues/557#top
https://github.com/jgeewax
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%20request%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
Datastore Futurehttps://github.com/googleapis/google-cloud-python/milestone/5
https://github.com/jgeewax
jgeewaxhttps://github.com/jgeewax
on Jan 16, 2015https://github.com/googleapis/google-cloud-python/issues/557#issue-54597589
@pcostellhttps://github.com/pcostell
https://cloud.githubusercontent.com/assets/112928/5779860/4e3edeec-9d74-11e4-88aa-06ea07d878f1.png
https://cloud.githubusercontent.com/assets/112928/5780010/39a9a664-9d75-11e4-8a31-60b44f24ed4b.png
@dhermeshttps://github.com/dhermes
@tseaverhttps://github.com/tseaver
@silvoluhttps://github.com/silvolu
@proppyhttps://github.com/proppy
jgeewaxhttps://github.com/jgeewax
api: datastoreIssues related to the Datastore API.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22api%3A%20datastore%22
type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20feature%20request%22
type: questionRequest for information or clarification. Not an issue.https://github.com/googleapis/google-cloud-python/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
Datastore Futurehttps://github.com/googleapis/google-cloud-python/milestone/5
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.