dbt
Configuration
# profile.yml
<profile name here>: # change this!
adapters:
<dbt adapter name here>: # change this!
type: dbt
project_dir:
profiles_dir:
profiles_target:
hooks.dbt_ref()
hooks.dbt_ref()# profile.yml
<profile name here>: # change this!
adapters:
<dbt adapter name here>: # change this!
type: dbt
project_dir:
profiles_dir:
profiles_target:
hooks.dbt_ref()def run(self, tasks, hooks):
df1 = hooks.dbt_ref('model_name') # Model from your project
df2 = hooks.dbt_ref('package_name', 'model_name') # Package model