dlt.helpers.dbt.runner
DBTPackageRunner Objects
class DBTPackageRunner()
A Python wrapper over a dbt package
The created wrapper minimizes the required effort to run dbt packages on datasets created with dlt. It clones the package repo and keeps it up to data,
shares the dlt destination credentials with dbt and allows the isolated execution with venv parameter.
The wrapper creates a dbt profile from a passed dlt credentials and executes the transformations in source_dataset_name schema. Additional configuration is
passed via DBTRunnerConfiguration instance
ensure_newest_package
def ensure_newest_package() -> None
Clones or brings the dbt package at package_location up to date.