You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python type generator does not escape enum labels and column names #1081
A name that contains a double quote, backslash, or newline produces invalid Python and can inject text into the generated module. The TypeScript template already passes every identifier through JSON.stringify, so the same input is handled there.
I'll send a PR that wraps these with JSON.stringify (which produces a valid Python string literal) and adds a test, matching the TypeScript template.
Activity