prefect_dbt.core.settings
A class for configuring or automatically discovering settings to be used with PrefectDbtRunner.
Classes
PrefectDbtSettings
dbt settings that directly affect the PrefectDbtRunner.
These settings will be collected automatically from their corresponding ‘DBT_’-prefixed environment variables.
If a setting is not set in the environment or in the fields of this class, the default value will be used.
All other dbt settings should be used as normal, e.g. in the dbt_project.yml file, env vars, or kwargs to invoke().
Methods:
load_profiles_yml
- Dict containing the parsed profiles.yml contents
ValueError: If profiles.yml is not found
resolve_profiles_yml
include_profiles: Whether to include the resolved profiles.yml in the yield.