Skip to content

Commit cf86d86

Browse files
committed
Try some more things
1 parent c7fdf1d commit cf86d86

File tree

7 files changed

+1511
-188
lines changed

7 files changed

+1511
-188
lines changed

internal/cmd/generate.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ import (
1313

1414
"github.com/kyleconroy/sqlc/internal/codegen/golang"
1515
"github.com/kyleconroy/sqlc/internal/codegen/kotlin"
16-
"github.com/kyleconroy/sqlc/internal/codegen/python"
16+
// "github.com/kyleconroy/sqlc/internal/codegen/python"
17+
pytwo "github.com/kyleconroy/sqlc/internal/codegen/python2"
1718
"github.com/kyleconroy/sqlc/internal/compiler"
1819
"github.com/kyleconroy/sqlc/internal/config"
1920
"github.com/kyleconroy/sqlc/internal/debug"
@@ -199,7 +200,7 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
199200
files, err = kotlin.Generate(result, combo)
200201
case sql.Gen.Python != nil:
201202
out = combo.Python.Out
202-
resp, err = python.GenerateV2(codeGenRequest(result, combo))
203+
resp, err = pytwo.Generate(codeGenRequest(result, combo))
203204
default:
204205
panic("missing language backend")
205206
}

internal/codegen/python/gen_v2.go

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)