Skip to content

Commit

Permalink
feat(python): Graduate Python support to beta (#1520)
Browse files Browse the repository at this point in the history
The use of the `--experimental` flag is no longer required
  • Loading branch information
kyleconroy committed Mar 31, 2022
1 parent 7d50fb4 commit b046f9f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
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

0 comments on commit b046f9f

Please sign in to comment.