We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
Thanks for this plugin! I love sqlc and I'm excited to try it in python as well.
Without further ado, here is the issue. Given the following pgsql enums:
CREATE TYPE ProjectState AS ENUM ('PRE', 'AUDIT', 'POST', 'FINISHED'); CREATE TYPE DomainComplexity AS ENUM ('SIMPLE', 'MODERATE', 'COMPLEX', 'HIGHLY_COMPLEX');
I would expect the output to have the same name format. Instead what I am getting is this:
class Projectstate(str, enum.Enum): PRE = "PRE" AUDIT = "AUDIT" POST = "POST" FINISHED = "FINISHED" class Domaincomplexity(str, enum.Enum): SIMPLE = "SIMPLE" MODERATE = "MODERATE" COMPLEX = "COMPLEX" HIGHLY_COMPLEX = "HIGHLY_COMPLEX"
Expected would be:
class ProjectState(str, enum.Enum): ... class DomainComplexity(str, enum.Enum): ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
Thanks for this plugin! I love sqlc and I'm excited to try it in python as well.
Without further ado, here is the issue. Given the following pgsql enums:
I would expect the output to have the same name format. Instead what I am getting is this:
Expected would be:
The text was updated successfully, but these errors were encountered: