File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ class Model(HasColumnsMixin):
173173 raw_code: The raw code of the model.
174174 language: The language of the model, e.g. sql.
175175 access: The access level of the model, e.g. public.
176+ group: The group the model is in.
176177 alias: The alias of the model.
177178 patch_path: The yml path of the model, e.g. `package://model_dir/dir/file.yml`.
178179 tags: The list of tags attached to the model.
@@ -196,6 +197,7 @@ class Model(HasColumnsMixin):
196197 raw_code : str
197198 language : str
198199 access : str
200+ group : str
199201 alias : str | None = None
200202 patch_path : str | None = None
201203 tags : list [str ] = field (default_factory = list )
@@ -225,6 +227,7 @@ def from_node(
225227 raw_code = node_values ["raw_code" ],
226228 language = node_values ["language" ],
227229 access = node_values ["access" ],
230+ group = node_values ["group" ],
228231 alias = node_values ["alias" ],
229232 patch_path = node_values ["patch_path" ],
230233 tags = node_values ["tags" ],
Original file line number Diff line number Diff line change 3636 "tags" : [],
3737 "depends_on" : {},
3838 "language" : " sql" ,
39- "access" : " protected"
39+ "access" : " protected" ,
40+ "group" : null
4041 },
4142 "model.package.model2" : {
4243 "resource_type" : " model" ,
6768 "tags" : [],
6869 "depends_on" : {},
6970 "language" : " sql" ,
70- "access" : " public"
71+ "access" : " public" ,
72+ "group" : " them_over_there"
7173 },
7274 "model.package2.model1" : {
7375 "resource_type" : " model" ,
98100 "tags" : [],
99101 "depends_on" : {},
100102 "language" : " sql" ,
101- "access" : " public"
103+ "access" : " public" ,
104+ "group" : " them_over_there"
102105 },
103106 "test.package.test1" : {
104107 "resource_type" : " test" ,
You can’t perform that action at this time.
0 commit comments