Skip to content
New issue

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

feat(python): Graduate Python support to beta #1520

Merged
merged 1 commit into from Mar 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/language-support.rst
Expand Up @@ -6,7 +6,7 @@ Language MySQL PostgreSQL
======== ============ ============
Go Stable Stable
Kotlin Beta Beta
Python Experimental Experimental
Python Beta Beta
======== ============ ============

Future Language Support
Expand Down
4 changes: 0 additions & 4 deletions internal/cmd/generate.go
Expand Up @@ -133,10 +133,6 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
})
}
if sql.Gen.Python != nil {
if !e.ExperimentalFeatures {
fmt.Fprintf(stderr, "error parsing %s: unknown target langauge \"python\"\n", base)
return nil, fmt.Errorf("unknown target language \"python\"")
}
pairs = append(pairs, outPair{
SQL: sql,
Gen: config.SQLGen{Python: sql.Gen.Python},
Expand Down