dbt rpc

A server that can compile and run queries in the context of a dbt project. Additionally, it provides methods that can be used to list and terminate running processes.

19
7
Python

dbt-rpc

⚠️ The dbt-rpc plugin is deprecated.

dbt Labs actively maintained dbt-rpc for compatibility with dbt-core versions up to v1.5. Starting with dbt-core v1.6 (released in July 2023), dbt-rpc is no longer supported for ongoing compatibility. In the meantime, dbt Labs will be performing critical maintenance only for dbt-rpc, until the last compatible version of dbt-core has reached the end of official support (see version policies). At that point, dbt Labs will archive this repository to be read-only.

This plugin introduces a dbt-rpc serve command, which runs a Remote Procedure Call Server that enables you to submit dbt commands in a programmatic way. (This command is equivalent to the dbt rpc command that was available in older versions of dbt-core.)

This plugin requires dbt-core and json-rpc. You should install it alongside an adapter plugin for use with your database/platform/engine.

Links

Reporting bugs and contributing code

Code of Conduct

Everyone interacting in the dbt project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the dbt Code of Conduct.