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

Uploaded Source

Built Distribution

dbt_adapters-1.10.2-py3-none-any.whl (164.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dbt_adapters-1.10.2.tar.gz
  • Upload date:
  • Size: 106.1 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.2.tar.gz
Algorithm Hash digest
SHA256 c85a782e1ffa1f8571331b5e5e4e466e4742d0e4e97708881151e7b5c5ade860
MD5 667e6cdb7fd11fcef81a11c244513076
BLAKE2b-256 99b1cfc6f7edef6007b4cd7f4d32e290d456d981e33623eea325988ba929e9dc

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for dbt_adapters-1.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e08ccc54661c2fa2021ef2cbc3105a6d7552d5aa5eb6e505ffb3dc534d45023c
MD5 ee3279e3cfc21d7111b10d8dda3d2f1f
BLAKE2b-256 f64afa63f354d0ed1cee5792dba0359b68c446f4dea556662b7d2dc649ff74cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_adapters-1.10.2-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