René's URL Explorer Experiment


Title: feat: emit_module, emit_generators and emit_async flags by kevinvalk · Pull Request #15 · sqlc-dev/sqlc-gen-python · GitHub

Open Graph Title: feat: emit_module, emit_generators and emit_async flags by kevinvalk · Pull Request #15 · sqlc-dev/sqlc-gen-python

X Title: feat: emit_module, emit_generators and emit_async flags by kevinvalk · Pull Request #15 · sqlc-dev/sqlc-gen-python

Description: In my case, the class wrappers were not nice nor were the usage of generators. Hence I added three flags to change the generated code. During the feature/refactor I noticed it felt weird to generat...

Open Graph Description: In my case, the class wrappers were not nice nor were the usage of generators. Hence I added three flags to change the generated code. During the feature/refactor I noticed it felt weird to generat...

X Description: In my case, the class wrappers were not nice nor were the usage of generators. Hence I added three flags to change the generated code. During the feature/refactor I noticed it felt weird to generat...

Opengraph URL: https://github.com/sqlc-dev/sqlc-gen-python/pull/15

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:9ff0d845-b525-f8d0-405b-4254b51aa51a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id91AA:217C4D:5C94:75FC:696E668D
html-safe-nonce0d40d6ce763b7f149136c831ef02eea811d8a0d944fe264b1d69bd434625422e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUFBOjIxN0M0RDo1Qzk0Ojc1RkM6Njk2RTY2OEQiLCJ2aXNpdG9yX2lkIjoiMzM1Njc0NDM3MDcwMTEwMDY4NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1e1efe185bfb1c59d6b5eb7e1c872a79d62d7d297184c6f44d228284d9680c99
hovercard-subject-tagpull_request:1485523361
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/sqlc-dev/sqlc-gen-python/15/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ad14f6228195da6e6db9fc16449189a434a82590f07d62da673786ff0162f95f/sqlc-dev/sqlc-gen-python/pull/15
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ad14f6228195da6e6db9fc16449189a434a82590f07d62da673786ff0162f95f/sqlc-dev/sqlc-gen-python/pull/15
og:image:altIn my case, the class wrappers were not nice nor were the usage of generators. Hence I added three flags to change the generated code. During the feature/refactor I noticed it felt weird to generat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevinvalk
hostnamegithub.com
expected-hostnamegithub.com
None99a4a74f92e7618f6e15b4dbb9f4470c8d31701a90d89c21ff31970528b7f0c3
turbo-cache-controlno-preview
go-importgithub.com/sqlc-dev/sqlc-gen-python git https://github.com/sqlc-dev/sqlc-gen-python.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id548530161
octolytics-dimension-repository_nwosqlc-dev/sqlc-gen-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id548530161
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc-gen-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
releaseef0d97829e997c64864f25a29b00067f5dc3a4c4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc-gen-python%2Fpull%2F15
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%2Fsqlc-dev%2Fsqlc-gen-python%2Fpull%2F15
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=sqlc-dev%2Fsqlc-gen-python
Reloadhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
Reloadhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
Reloadhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
sqlc-dev https://patch-diff.githubusercontent.com/sqlc-dev
sqlc-gen-pythonhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fsqlc-dev%2Fsqlc-gen-python
Fork 46 https://patch-diff.githubusercontent.com/login?return_to=%2Fsqlc-dev%2Fsqlc-gen-python
Star 304 https://patch-diff.githubusercontent.com/login?return_to=%2Fsqlc-dev%2Fsqlc-gen-python
Code https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python
Issues 33 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/issues
Pull requests 13 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pulls
Actions https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/actions
Projects 0 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/projects
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
Insights https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pulse
Code https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python
Issues https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/issues
Pull requests https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pulls
Actions https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/actions
Projects https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/projects
Security https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/security
Insights https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fsqlc-dev%2Fsqlc-gen-python%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=%2Fsqlc-dev%2Fsqlc-gen-python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#issue-comment-box
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
sqlc-dev:mainhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/tree/main
codean-io:mainhttps://patch-diff.githubusercontent.com/codean-io/sqlc-gen-python/tree/main
feat: emit_module, emit_generators and emit_async flags https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#top
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
sqlc-dev:mainhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/tree/main
codean-io:mainhttps://patch-diff.githubusercontent.com/codean-io/sqlc-gen-python/tree/main
Conversation 3 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
Commits 10 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits
Checks 0 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/checks
Files changed https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/files
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/kevinvalk
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
Aug 22, 2023https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#issue-1862307374
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
August 23, 2023 00:44https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#commits-pushed-d785536
https://patch-diff.githubusercontent.com/kevinvalk
feat: using emit_module, emit_generators and emit_async flags you can…https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/d785536c7e0161d0e1f8b51fbb9b725a23ea4c52
d785536https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/d785536c7e0161d0e1f8b51fbb9b725a23ea4c52
https://patch-diff.githubusercontent.com/kevinvalk
docs: udated READMEhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/c7137dfacd2381316c51128c40190c316bfb5ef5
c7137dfhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/c7137dfacd2381316c51128c40190c316bfb5ef5
https://patch-diff.githubusercontent.com/kevinvalk
chore: updated go version to 1.21.0 and uploading of plugin as artifacthttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/ba256bd0b0e9aec7b3ebc5221c28b110ff894899
ba256bdhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/ba256bd0b0e9aec7b3ebc5221c28b110ff894899
https://patch-diff.githubusercontent.com/kevinvalk
feat: added output_models_file_name and output_querier_file options t…https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/bfa71a905b9c2ef794867bcee4127fd6cfb96a72
bfa71a9https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/bfa71a905b9c2ef794867bcee4127fd6cfb96a72
https://patch-diff.githubusercontent.com/kevinvalk
feat: support sqlc.embedhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/f2390827d3f80b30dd4b227374eebe25eef06849
f239082https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/f2390827d3f80b30dd4b227374eebe25eef06849
https://patch-diff.githubusercontent.com/kevinvalk
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
Aug 24, 2023 https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#pullrequestreview-1594183042
View reviewed changes https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/files/bfa71a905b9c2ef794867bcee4127fd6cfb96a72
internal/printer/printer.gohttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/files/bfa71a905b9c2ef794867bcee4127fd6cfb96a72#diff-58de1575bcd3abab85340eb61810590c68a061ec2cad49d8cf3864fe402a64c1
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
Aug 24, 2023https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#discussion_r1304696803
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kyleconroyhttps://github.com/kyleconroy
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
Feb 21, 2024https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#discussion_r1497300953
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kyleconroyhttps://github.com/kyleconroy
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
https://patch-diff.githubusercontent.com/kevinvalk
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
August 24, 2023 18:10https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#event-10184583586
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
February 21, 2024 10:26https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#commits-pushed-449d140
https://patch-diff.githubusercontent.com/kevinvalk
feat: added type annotationshttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/449d140f5941bf13be39eabd79a86fec4fe3eaec
449d140https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/449d140f5941bf13be39eabd79a86fec4fe3eaec
https://patch-diff.githubusercontent.com/kevinvalk
Merge remote-tracking branch 'upstream/main'https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/4a7f0df53b0a9eacd2f95871c46beeec2052c078
4a7f0dfhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/4a7f0df53b0a9eacd2f95871c46beeec2052c078
https://patch-diff.githubusercontent.com/kevinvalk
fix: ensure we are fully backwards compatiblehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/3e513130d69348b81c25f47bbb6f72317b9df0ca
3e51313https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/3e513130d69348b81c25f47bbb6f72317b9df0ca
https://patch-diff.githubusercontent.com/kevinvalk
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
Feb 21, 2024https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#issuecomment-1956355684
@kyleconroyhttps://github.com/kyleconroy
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
February 21, 2024 11:44https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#commits-pushed-6efc624
https://patch-diff.githubusercontent.com/kevinvalk
fix: updated ast.proto with manual patch for the AnnAssign nodehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/6efc6246c74181bd7e4415dd59fbe14b48087751
6efc624https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/6efc6246c74181bd7e4415dd59fbe14b48087751
https://patch-diff.githubusercontent.com/kevinvalk
feat: automatic release of the plugin on tagginghttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/3d5cd342d23ae143ed892170ffecda20ff9a1958
3d5cd34https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15/commits/3d5cd342d23ae143ed892170ffecda20ff9a1958
https://patch-diff.githubusercontent.com/kevinvalk
kevinvalkhttps://patch-diff.githubusercontent.com/kevinvalk
force-pushedhttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/compare/74e5af540f4477570dd6ea5f4f7955e037a74ea0..3d5cd342d23ae143ed892170ffecda20ff9a1958
74e5af5https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/commit/74e5af540f4477570dd6ea5f4f7955e037a74ea0
3d5cd34https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/commit/3d5cd342d23ae143ed892170ffecda20ff9a1958
Compare https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/compare/74e5af540f4477570dd6ea5f4f7955e037a74ea0..3d5cd342d23ae143ed892170ffecda20ff9a1958
February 21, 2024 11:11https://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15#event-11874768461
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%2Fsqlc-dev%2Fsqlc-gen-python%2Fpull%2F15
Please reload this pagehttps://patch-diff.githubusercontent.com/sqlc-dev/sqlc-gen-python/pull/15
https://patch-diff.githubusercontent.com/kevinvalk
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.