Title: Invalid name generation when using python reserved keywords by QuentinN42 · Pull Request #89 · sqlc-dev/sqlc-gen-python · GitHub
Open Graph Title: Invalid name generation when using python reserved keywords by QuentinN42 · Pull Request #89 · sqlc-dev/sqlc-gen-python
X Title: Invalid name generation when using python reserved keywords by QuentinN42 · Pull Request #89 · sqlc-dev/sqlc-gen-python
Description: Contribute to sqlc-dev/sqlc-gen-python development by creating an account on GitHub.
Open Graph Description: Fixes #88 To fix this issue, here is my proposition: class Author(pydantic.BaseModel): + model_config = pydantic.ConfigDict( + validate_by_alias=True, + validate_by_name=True, + ...
X Description: Fixes #88 To fix this issue, here is my proposition: class Author(pydantic.BaseModel): + model_config = pydantic.ConfigDict( + validate_by_alias=True, + validate_by_name=True, + ...
Opengraph URL: https://github.com/sqlc-dev/sqlc-gen-python/pull/89
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:89c50886-43e3-b6cd-a69d-a7e33035f87d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D83C:28DD58:4A6A2AD:6436588:696DFF2D |
| html-safe-nonce | fad16fa98e02c47f360ef5da2f0ac42740d4067961794bbc79135a4e7ebfb369 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODNDOjI4REQ1ODo0QTZBMkFEOjY0MzY1ODg6Njk2REZGMkQiLCJ2aXNpdG9yX2lkIjoiMTkzNDA4NjEyNTE5Nzg1MjQ2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5b5f7a00704c14cf36c8ab70de7fb13a4512fd08f3fb54fcf0ce7a838537dad2 |
| hovercard-subject-tag | pull_request:2695480932 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc-gen-python/pull/89/commits |
| twitter:image | https://opengraph.githubassets.com/4fab43210c1892a618d72ee0ae3b5c80115e20c2280a1ab08a9da14d67a63e07/sqlc-dev/sqlc-gen-python/pull/89 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4fab43210c1892a618d72ee0ae3b5c80115e20c2280a1ab08a9da14d67a63e07/sqlc-dev/sqlc-gen-python/pull/89 |
| og:image:alt | Fixes #88 To fix this issue, here is my proposition: class Author(pydantic.BaseModel): + model_config = pydantic.ConfigDict( + validate_by_alias=True, + validate_by_name=True, + ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuentinN42 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-cache |
| go-import | github.com/sqlc-dev/sqlc-gen-python git https://github.com/sqlc-dev/sqlc-gen-python.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 548530161 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc-gen-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 548530161 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc-gen-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width