The deps module is responsible for installing dbt packages into dbt projects. A dbt package is a standalone dbt project with models and macros that solve a specific problem area. More specific information on dbt packages is available on the docs site.
See How do I specify a package? on the docs site for a detailed explination of the different types of packages supported and expected formats.
Defines the base classes of PinnedPackage
and UnpinnedPackage
.
downloads_directory
sets the directory packages will be downloaded to.
_install
has retry logic if the download or untarring process hit exceptions (see dbt_common.utils.connection_exception_retry
).
Extends PinnedPackage
and UnpinnedPackage
specific to dbt packages defined with git urls.
Extends PinnedPackage
and UnpinnedPackage
specific to dbt packages defined locally.
Extends PinnedPackage
and UnpinnedPackage
specific to dbt packages defined on the dbt Hub registry.
Resolves the package definition into package objects to download.
Extends PinnedPackage
and UnpinnedPackage
specific to dbt packages defined by a URL to a tarball hosted on an HTTP server.