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.13.0.tar.gz (106.9 kB view details)

Uploaded Source

Built Distribution

dbt_adapters-1.13.0-py3-none-any.whl (164.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt_adapters-1.13.0.tar.gz
  • Upload date:
  • Size: 106.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for dbt_adapters-1.13.0.tar.gz
Algorithm Hash digest
SHA256 2e4e743d3613e7d72319edf6eb85ea2ca57133472e32ff0148c1325f21ff6d16
MD5 812a7865e8b7fb78833f97f10d402cb9
BLAKE2b-256 ad964c937891a2832d0520e5e311d38604df8547f4b8266d7d3bedbc2245c068

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for dbt_adapters-1.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4888f9b7d0ddb709e8219e722ee01678e31aade2b8b19595cf094a177c71dc56
MD5 d0a8475bca28ae8fc6248fae0b905f33
BLAKE2b-256 7ad73b627f5b2d1a390762c2b3fbfb690fd4395b94dc70957ee7cdfe50198596

See more details on using hashes here.

Provenance

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

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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