databricks / dbt-databricks

A dbt adapter for Databricks.
https://databricks.com
Apache License 2.0
226 stars 119 forks source link

Add support for Serverless jobs / refactor api usage #706

Closed benc-db closed 5 months ago

benc-db commented 5 months ago

Resolves #653

Description

This PR does 2 things:

  1. Adds feature of using serverless compute for python model jobs
  2. Refactors API usage to a.) prepare for eventually replacing with WorkspaceClient and b.) make it easier to unit test all of these API interactions.

Checklist