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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:20229a77-d69d-9ff0-c3fd-6b74496d083c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C962:6CA27:1DE54C3:285EF74:69707BF1 |
| html-safe-nonce | 1f27e55032ff67c269aea0088586b057ab2cf9e4e6588197a5cd90998cd7e16f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTYyOjZDQTI3OjFERTU0QzM6Mjg1RUY3NDo2OTcwN0JGMSIsInZpc2l0b3JfaWQiOiI0MzcwODIxMzE5ODA5MzI5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3b560c2603d63a29312c4065ab229a5b6e853987f66dddfcf32705e35c3271e4 |
| hovercard-subject-tag | pull_request:2165019965 |
| 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/59/files |
| 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 | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7d6181066430cc06553c8396ca201e194ae33cb9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width