Skip to content

Commit b046f9f

Browse files
authored
feat(python): Graduate Python support to beta (#1520)
The use of the `--experimental` flag is no longer required
1 parent 7d50fb4 commit b046f9f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

docs/reference/language-support.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Language MySQL PostgreSQL
66
======== ============ ============
77
Go Stable Stable
88
Kotlin Beta Beta
9-
Python Experimental Experimental
9+
Python Beta Beta
1010
======== ============ ============
1111

1212
Future Language Support

internal/cmd/generate.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
133133
})
134134
}
135135
if sql.Gen.Python != nil {
136-
if !e.ExperimentalFeatures {
137-
fmt.Fprintf(stderr, "error parsing %s: unknown target langauge \"python\"\n", base)
138-
return nil, fmt.Errorf("unknown target language \"python\"")
139-
}
140136
pairs = append(pairs, outPair{
141137
SQL: sql,
142138
Gen: config.SQLGen{Python: sql.Gen.Python},

0 commit comments

Comments
 (0)