Title: fix: enum generation if it does contain only equality-sign by dswistowski · Pull Request #59 · sqlc-dev/sqlc-gen-python · GitHub
Open Graph Title: fix: enum generation if it does contain only equality-sign by dswistowski · Pull Request #59 · sqlc-dev/sqlc-gen-python
X Title: fix: enum generation if it does contain only equality-sign by dswistowski · Pull Request #59 · sqlc-dev/sqlc-gen-python
Description: in case of type like: CREATE TYPE operator AS ENUM ( '=', '>', '<', '>=', '<=' ); current plugin will generate wrong python code: class Operator(str, enum.Enum): = "=" = ">" = "<" = ">=" = "<=" after this change plugin will generate valid enum: class Operator(str, enum.Enum): EQ = "=" GT = ">" LT = "<" GTEQ = ">=" LTEQ = "<="
Open Graph Description: in case of type like: CREATE TYPE operator AS ENUM ( '=', '>', '<', '>=', '<=' ); current plugin will generate wrong python ...
X Description: in case of type like: CREATE TYPE operator AS ENUM ( '=', '>', '<', '>=', '<=...
Opengraph URL: https://github.com/sqlc-dev/sqlc-gen-python/pull/59
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:e1228727-fdad-56a4-d364-33268678fc2d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8BB8:3AB9FF:654793:8E4BB6:696F3C73 |
| html-safe-nonce | f9c18c3d13fbd63aba3538b081eeb0d903760fb510f41487219b06321c7d076a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkI4OjNBQjlGRjo2NTQ3OTM6OEU0QkI2OjY5NkYzQzczIiwidmlzaXRvcl9pZCI6IjYxNjI4OTUyNzgyNzM2NzQzNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8be121f4f8755b06bd5b80597fffaafe9841fae3634a20c4af9661ed12f45082 |
| hovercard-subject-tag | pull_request:2165019965 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/59/checks |
| twitter:image | https://avatars.githubusercontent.com/u/197861?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/197861?s=400&v=4 |
| og:image:alt | in case of type like: CREATE TYPE operator AS ENUM ( '=', '>', '<', '>=', '<=' ); current plugin will generate wrong python ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width