Skip to content

Commit 4e5d28f

Browse files
committed
comments
1 parent 9f60b52 commit 4e5d28f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

examples/sushi/config.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22

3-
from sqlmesh.core.config.common import VirtualEnvironmentMode
3+
from sqlmesh.core.config.common import VirtualEnvironmentMode, TableNamingConvention
44
from sqlmesh.core.config import (
55
AutoCategorizationMode,
66
BigQueryConnectionConfig,
@@ -193,6 +193,10 @@
193193
before_all=before_all,
194194
)
195195

196-
hash_md5_naming_config = config.copy(update={"physical_table_naming_convention": "hash_md5"})
196+
hash_md5_naming_config = config.copy(
197+
update={"physical_table_naming_convention": TableNamingConvention.HASH_MD5}
198+
)
197199

198-
table_only_naming_config = config.copy(update={"physical_table_naming_convention": "table_only"})
200+
table_only_naming_config = config.copy(
201+
update={"physical_table_naming_convention": TableNamingConvention.TABLE_ONLY}
202+
)

0 commit comments

Comments
 (0)