René's URL Explorer Experiment


Title: Model code generation · Issue #4 · objectbox/objectbox-python · GitHub

Open Graph Title: Model code generation · Issue #4 · objectbox/objectbox-python

X Title: Model code generation · Issue #4 · objectbox/objectbox-python

Description: Currently, the model is declared directly by constructing python objects: @Entity(id=1, uid=1) class Person: id = Id(id=1, uid=1001) first_name = Property(str, id=2, uid=1002) last_name = Property(str, id=3, uid=1003) model = objectbox.M...

Open Graph Description: Currently, the model is declared directly by constructing python objects: @Entity(id=1, uid=1) class Person: id = Id(id=1, uid=1001) first_name = Property(str, id=2, uid=1002) last_name = Property(...

X Description: Currently, the model is declared directly by constructing python objects: @Entity(id=1, uid=1) class Person: id = Id(id=1, uid=1001) first_name = Property(str, id=2, uid=1002) last_name = Property(...

Opengraph URL: https://github.com/objectbox/objectbox-python/issues/4

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Model code generation","articleBody":"Currently, the model is declared directly by constructing python objects:\r\n\r\n```python\r\n@Entity(id=1, uid=1)\r\nclass Person:\r\n    id = Id(id=1, uid=1001)\r\n    first_name = Property(str, id=2, uid=1002)\r\n    last_name = Property(str, id=3, uid=1003)\r\n\r\nmodel = objectbox.Model()\r\nmodel.entity(Person, last_property_id=objectbox.model.IdUid(3, 1003))\r\nmodel.last_entity_id = objectbox.model.IdUid(1, 1)\r\nob = objectbox.Builder().model(model).directory(\"db\").build()\r\n```\r\n\r\nThis is a little cumbersome to write and update and thus opens up room for hard to find errors.\r\nIt would be nicer if we could generate the model similar to other ObjectBox bindings. There are two ways we do that, e.g. with a language-specific build process integration (e.g. in java, swift, dart/flutter) or with a standalone tool that does code generation (go, c, c++). \r\n\r\nIs there something like [dart source_gen](https://pub.dev/packages/source_gen) that would help with easy-to-use python code generation? \r\nIf there isn't, then adding \"FBS-\u003epython\" generation support to [objectbox-generator](https://github.com/objectbox/objectbox-generator) would be an option as well.","author":{"url":"https://github.com/vaind","@type":"Person","name":"vaind"},"datePublished":"2020-09-09T07:58:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/4/objectbox-python/issues/4"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5514bdbb-6215-e0c5-00e3-dcc9e072950f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE34C:989FD:49048A0:5F01A51:697DCBAC
html-safe-noncec70f3594d1695f6dde258dc2cffd5174e85d4a888b58753ea037559b8e18f22e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzRDOjk4OUZEOjQ5MDQ4QTA6NUYwMUE1MTo2OTdEQ0JBQyIsInZpc2l0b3JfaWQiOiI2NzM4MjI4NDIxMjc0MjI1NTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac98908d75a7cc2639e971e4f13f47c6e3e0040b44624666fbbc6212787d977ee9
hovercard-subject-tagissue:696558063
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/objectbox/objectbox-python/4/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1ba62b25bb36110fdf7a7395a92a2e666f2ade8a6f957dc256e9b2d4a1d35a2b/objectbox/objectbox-python/issues/4
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1ba62b25bb36110fdf7a7395a92a2e666f2ade8a6f957dc256e9b2d4a1d35a2b/objectbox/objectbox-python/issues/4
og:image:altCurrently, the model is declared directly by constructing python objects: @Entity(id=1, uid=1) class Person: id = Id(id=1, uid=1001) first_name = Property(str, id=2, uid=1002) last_name = Property(...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevaind
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/objectbox/objectbox-python git https://github.com/objectbox/objectbox-python.git
octolytics-dimension-user_id22327943
octolytics-dimension-user_loginobjectbox
octolytics-dimension-repository_id185552041
octolytics-dimension-repository_nwoobjectbox/objectbox-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id185552041
octolytics-dimension-repository_network_root_nwoobjectbox/objectbox-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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/objectbox/objectbox-python/issues/4#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fobjectbox%2Fobjectbox-python%2Fissues%2F4
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fobjectbox%2Fobjectbox-python%2Fissues%2F4
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=objectbox%2Fobjectbox-python
Reloadhttps://github.com/objectbox/objectbox-python/issues/4
Reloadhttps://github.com/objectbox/objectbox-python/issues/4
Reloadhttps://github.com/objectbox/objectbox-python/issues/4
objectbox https://github.com/objectbox
objectbox-pythonhttps://github.com/objectbox/objectbox-python
Notifications https://github.com/login?return_to=%2Fobjectbox%2Fobjectbox-python
Fork 22 https://github.com/login?return_to=%2Fobjectbox%2Fobjectbox-python
Star 176 https://github.com/login?return_to=%2Fobjectbox%2Fobjectbox-python
Code https://github.com/objectbox/objectbox-python
Issues 8 https://github.com/objectbox/objectbox-python/issues
Pull requests 2 https://github.com/objectbox/objectbox-python/pulls
Actions https://github.com/objectbox/objectbox-python/actions
Security 0 https://github.com/objectbox/objectbox-python/security
Insights https://github.com/objectbox/objectbox-python/pulse
Code https://github.com/objectbox/objectbox-python
Issues https://github.com/objectbox/objectbox-python/issues
Pull requests https://github.com/objectbox/objectbox-python/pulls
Actions https://github.com/objectbox/objectbox-python/actions
Security https://github.com/objectbox/objectbox-python/security
Insights https://github.com/objectbox/objectbox-python/pulse
New issuehttps://github.com/login?return_to=https://github.com/objectbox/objectbox-python/issues/4
New issuehttps://github.com/login?return_to=https://github.com/objectbox/objectbox-python/issues/4
Model code generationhttps://github.com/objectbox/objectbox-python/issues/4#top
enhancementNew feature or requesthttps://github.com/objectbox/objectbox-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedExtra attention is neededhttps://github.com/objectbox/objectbox-python/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
https://github.com/vaind
https://github.com/vaind
vaindhttps://github.com/vaind
on Sep 9, 2020https://github.com/objectbox/objectbox-python/issues/4#issue-696558063
dart source_genhttps://pub.dev/packages/source_gen
objectbox-generatorhttps://github.com/objectbox/objectbox-generator
enhancementNew feature or requesthttps://github.com/objectbox/objectbox-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
help wantedExtra attention is neededhttps://github.com/objectbox/objectbox-python/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
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.