Skip to content

Commit

Permalink
use constants
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Jan 17, 2025
1 parent 44586ff commit 9bf0cac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/template/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ var allTemplates = []Template{
{
name: DefaultPython,
description: "The default Python template for Notebooks / Delta Live Tables / Workflows",
Reader: &builtinReader{name: "default-python"},
Reader: &builtinReader{name: string(DefaultPython)},
Writer: &writerWithFullTelemetry{},
},
{
name: DefaultSql,
description: "The default SQL template for .sql files that run with Databricks SQL",
Reader: &builtinReader{name: "default-sql"},
Reader: &builtinReader{name: string(DefaultSql)},
Writer: &writerWithFullTelemetry{},
},
{
name: DbtSql,
description: "The dbt SQL template (databricks.com/blog/delivering-cost-effective-data-real-time-dbt-and-databricks)",
Reader: &builtinReader{name: "dbt-sql"},
Reader: &builtinReader{name: string(DbtSql)},
Writer: &writerWithFullTelemetry{},
},
{
Expand Down

0 comments on commit 9bf0cac

Please sign in to comment.