Skip to content

Commit b84ee67

Browse files
committed
Separate models and model_transforms in compiled
1 parent 675f203 commit b84ee67

File tree

12 files changed

+78
-1849
lines changed

12 files changed

+78
-1849
lines changed

python/src/ai/chronon/cli/compile/compile_context.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
MetaData,
1010
ModelTransforms,
1111
StagingQuery,
12-
Team,
12+
Team, Model,
1313
)
1414

1515
import ai.chronon.cli.compile.parse_teams as teams
@@ -52,7 +52,8 @@ def __init__(self, ignore_python_errors: bool = False, format: Format = Format.T
5252
cls=StagingQuery,
5353
config_type=ConfType.STAGING_QUERY,
5454
),
55-
ConfigInfo(folder_name="models", cls=ModelTransforms, config_type=ConfType.MODEL),
55+
ConfigInfo(folder_name="model_transforms", cls=ModelTransforms, config_type=ConfType.MODEL_TRANSFORMS),
56+
ConfigInfo(folder_name="models", cls=Model, config_type=ConfType.MODEL),
5657
ConfigInfo(
5758
folder_name="teams_metadata", cls=MetaData, config_type=None
5859
), # only for team metadata

python/test/canary/compiled/joins/gcp/demo.derivations_v1__2

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)