Hiroto Yamakawa
05/11/2023, 6:39 PMDBT_PROJECT_PATH
to load assets from dbt,
ā¢ is there a way to exclude models included in the subdirectory dbt_packages
?
ā¢ It seems like the subdirectory : snapshots
is being ignored when loading the assets, any way we can enforce it ?
I can see 'include'/'exclude' parameter, but I would rather avoid having to list all the models to exclude/include in the respective subdirectories above.
thanks !owen
05/11/2023, 6:45 PMexclude = "path:dbt_packages"
. for the second point, by default, loading assets from your dbt project will only load models (and execute them using dbt run
. If you'd like snapshots to be included, you can set use_build_command=True
while loading your assetsHiroto Yamakawa
05/11/2023, 6:48 PMHiroto Yamakawa
05/12/2023, 8:38 AMexclude = 'dbt_packages'
doesn't return an error , but the assets are still there š, I assume the exclude will just ensure they won't run when executing a job ? can we prevent them from being displayed in the assets?
use_build_command=True
doesn't allow them to show the snapshotsHiroto Yamakawa
05/12/2023, 3:36 PM