Jean Gonzalez
02/27/2023, 3:03 PMAdam Bloom
02/27/2023, 3:28 PMnode_info_to_group_fn
- it can literally return a static string if you want everything in the same groupSaul Burgos
02/27/2023, 3:32 PMsandy
02/27/2023, 4:49 PMload_assets_from_dbt_project
doesn't return any SourceAsset
objects. if you want to put those source asset in a group, you'll need to create SourceAsset
objects and assign the group to themSaul Burgos
02/27/2023, 5:20 PMsandy
02/28/2023, 12:07 AMSaul Burgos
02/28/2023, 2:11 PMsandy
02/28/2023, 4:01 PMThanks for your answer. So sources can not group. Returning to your first answer of using an "SourceAsset". Could you give a guide about how to do it?Suppose one of your dbt sources has the key ["marketing", "campaigns"] You can do
campaigns = SourceAsset(AssetKey(["marketing", "campaigns"]), group_name="whatever")
Saul Burgos
02/28/2023, 9:18 PM