Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to consolidate async dbt adapter code #1509

Merged
merged 2 commits into from
Feb 7, 2025

Conversation

pankajkoti
Copy link
Contributor

@pankajkoti pankajkoti commented Feb 5, 2025

This PR addresses the feedback in PR #1474 suggesting to consolidate dbt adapter methods
in the _asynchronous module and additionally avoiding keeping dictionary type maps for adapter
callables.

closes: #1508

Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for sunny-pastelito-5ecb04 ready!

Name Link
🔨 Latest commit 9b88931
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/67a5c37535723e00087985f9
😎 Deploy Preview https://deploy-preview-1509--sunny-pastelito-5ecb04.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

cloudflare-workers-and-pages bot commented Feb 5, 2025

Deploying astronomer-cosmos with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9b88931
Status:⚡️  Build in progress...

View logs

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.33%. Comparing base (03358bf) to head (9b88931).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1509   +/-   ##
=======================================
  Coverage   97.33%   97.33%           
=======================================
  Files          80       79    -1     
  Lines        4691     4696    +5     
=======================================
+ Hits         4566     4571    +5     
  Misses        125      125           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pankajkoti pankajkoti marked this pull request as ready for review February 5, 2025 11:02
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. profile:bigquery Related to BigQuery ProfileConfig labels Feb 5, 2025
cosmos/helpers.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@tatiana tatiana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, @pankajkoti , thank you very much for refactoring this part of the code. I left a minor feedback on the helper.py module name

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 6, 2025
@tatiana tatiana added this to the Cosmos 1.9.0 milestone Feb 6, 2025
@pankajkoti pankajkoti force-pushed the refactor-bq-adapter-methods branch from 036b214 to 9b88931 Compare February 7, 2025 08:25
@pankajkoti pankajkoti merged commit bdb77e4 into main Feb 7, 2025
3 of 6 checks passed
@pankajkoti pankajkoti deleted the refactor-bq-adapter-methods branch February 7, 2025 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer profile:bigquery Related to BigQuery ProfileConfig size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor dbt adapter mocking modules
2 participants