@@ -13,7 +13,6 @@ import (
1313
1414 "github.com/kyleconroy/sqlc/internal/codegen/golang"
1515 "github.com/kyleconroy/sqlc/internal/codegen/json"
16- "github.com/kyleconroy/sqlc/internal/codegen/python"
1716 "github.com/kyleconroy/sqlc/internal/compiler"
1817 "github.com/kyleconroy/sqlc/internal/config"
1918 "github.com/kyleconroy/sqlc/internal/config/convert"
@@ -141,12 +140,6 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
141140 Gen : config.SQLGen {Go : sql .Gen .Go },
142141 })
143142 }
144- if sql .Gen .Python != nil {
145- pairs = append (pairs , outPair {
146- SQL : sql ,
147- Gen : config.SQLGen {Python : sql .Gen .Python },
148- })
149- }
150143 if sql .Gen .JSON != nil {
151144 pairs = append (pairs , outPair {
152145 SQL : sql ,
@@ -190,10 +183,6 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
190183 name = combo .Go .Package
191184 lang = "golang"
192185
193- case sql .Gen .Python != nil :
194- lang = "python"
195- name = combo .Python .Package
196-
197186 case sql .Plugin != nil :
198187 lang = fmt .Sprintf ("process:%s" , sql .Plugin .Plugin )
199188 name = sql .Plugin .Plugin
@@ -290,10 +279,6 @@ func codegen(ctx context.Context, combo config.CombinedSettings, sql outPair, re
290279 out = combo .Go .Out
291280 handler = ext .HandleFunc (golang .Generate )
292281
293- case sql .Gen .Python != nil :
294- out = combo .Python .Out
295- handler = ext .HandleFunc (python .Generate )
296-
297282 case sql .Gen .JSON != nil :
298283 out = combo .JSON .Out
299284 handler = ext .HandleFunc (json .Generate )
0 commit comments