epapineau opened a new pull request, #24264:
URL: https://github.com/apache/airflow/pull/24264

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   closes: #22730
   
   Recreation of #22938, which I accidentally closed
   
   Enables dbt Cloud provider to make API calls to [single tenant dbt Cloud 
instances](https://docs.getdbt.com/docs/dbt-cloud/deployments/single-tenant-deployment)
 using the tenant arg on `DbtCloudRunJobOperator`
   
   ## Screenshots
   #### dbt Cloud Single Tentant Instance Job + DAG
   Line 31 of dbt_cloud_provider_example.py == 
`default_args={"dbt_cloud_conn_id": "dbt_cloud", "tenant": 
"staging.singletenant"},`
   
   ![Screen Shot 2022-05-06 at 4 24 14 
PM](https://user-images.githubusercontent.com/20958052/167227509-e8afca80-b8aa-4b49-87e1-d5d22f30378d.png)
   ![Screen Shot 2022-05-06 at 4 24 19 
PM](https://user-images.githubusercontent.com/20958052/167227515-fd8bb1de-ae30-4f10-b799-259b45958ae4.png)
   
   #### dbt Cloud Multi Tentant Instance Job + DAG
   Line 31 of dbt_cloud_provider_example.py == 
`default_args={"dbt_cloud_conn_id": "dbt_cloud"},`
   ![Screen Shot 2022-05-06 at 4 30 39 
PM](https://user-images.githubusercontent.com/20958052/167227788-d50260fd-db7e-466e-a4b8-67e9b46274bf.png)
   ![Screen Shot 2022-05-06 at 4 31 16 
PM](https://user-images.githubusercontent.com/20958052/167227797-b63e2971-b71b-4d0a-adde-180610e84476.png)
   
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request 
Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)**
 for more information.
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to