Skip to main content

The set of adapter protocols and base functionality that supports integration with dbt-core

Project description

dbt logo

dbt-adapters

This package is responsible for:

  • defining database connection methods
  • caching information from databases
  • determining how relations are defined

In this repo there is also our testing suite used for tesing adapter functionality

Adapters

There are two major adapter types: base and sql

base

Defines the base implementation Adapters can use to build out full functionality.

sql

Defines a sql implementation for adapters that initially inherits the base implementation and comes with some pre-made methods and macros that can be overwritten as needed per adapter. (most common type of adapter.)

Files

cache.py

Cached information from the database.

factory.py

Defines how we generate adapter objects

protocol.py

Defines various interfaces for various adapter objects. Helps mypy correctly resolve methods.

reference_keys.py

Configures naming scheme for cache elements to be universal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_adapters-1.10.1.tar.gz (105.4 kB view details)

Uploaded Source

Built Distribution

dbt_adapters-1.10.1-py3-none-any.whl (163.7 kB view details)

Uploaded Python 3

File details

Details for the file dbt_adapters-1.10.1.tar.gz.

File metadata

  • Download URL: dbt_adapters-1.10.1.tar.gz
  • Upload date:
  • Size: 105.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dbt_adapters-1.10.1.tar.gz
Algorithm Hash digest
SHA256 32962a69c7ea84b47f6c5e523d502a470d378c361d32a3a56344bbe339a875c6
MD5 a0b8b74fe8dd68a8f7c0415562360c47
BLAKE2b-256 c419c7e560f2f375c9ff87621a14c392c4fb7d48f038d5b929d19ecf879abaf2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_adapters-1.10.1.tar.gz:

Publisher: release.yml on dbt-labs/dbt-adapters

Attestations:

File details

Details for the file dbt_adapters-1.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dbt_adapters-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0f95717eb2739ff423bd5394a577cfd457d46003671134e574a11652179c3949
MD5 794c86cac36fd82976b0a611b62ac6e3
BLAKE2b-256 d364baa4b86b337a626ace4069e75464904020bd404b5997a3f5acaba471cb10

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_adapters-1.10.1-py3-none-any.whl:

Publisher: release.yml on dbt-labs/dbt-adapters

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page