Skip to main content

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

Project description

dbt logo

dbt-tests-adapter

This package is responsible for:

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

There are two major adapter types: base and sql

Directories

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.11.0.tar.gz (105.0 kB view hashes)

Uploaded Source

Built Distribution

dbt_adapters-1.11.0-py3-none-any.whl (163.3 kB view hashes)

Uploaded Python 3

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