prefect_dbt.utilities
Utility functions for prefect-dbt
Functions
find_profiles_dir
- Directory containing profiles.yml
replace_with_env_var_call
placeholder: The placeholder text to replacevalue: The value to replace the placeholder with
- The template text for an env var call
format_resource_id
adapter_type: The type of adapter used to connect to the databaserelation_name: The name of the relation to format
- The formatted asset key
kwargs_to_args
kwargs: A dictionary of kwargs.args: Optional list of existing args that take priority over kwargs.
- A list of args.