-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move the contents of dbt.contracts.results to a new dbt.artifacts directory #9350
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #9350 +/- ##
==========================================
+ Coverage 86.59% 86.62% +0.02%
==========================================
Files 225 230 +5
Lines 27024 27059 +35
==========================================
+ Hits 23402 23440 +38
+ Misses 3622 3619 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Looks great!
* replace dbt/common with dbt-common * update requirements, remove colorama * remove dbt-common unit tests * WIP * some cleanup * update imports from dbt.common to dbt_common * remove tests/unit/common * changelog entry * remove commented out code * move cache exceptions to dbt/adapters (#9361) * point to dbt-common main * Move the contents of dbt.contracts.results to a new dbt.artifacts directory (#9350) * conflict resolution cleanup * cleanup * add ignoreb --------- Co-authored-by: Michelle Ark <michelle.ark@dbtlabs.com> Co-authored-by: Michelle Ark <MichelleArk@users.noreply.github.com> Co-authored-by: Gerda Shank <gerda@dbtlabs.com>
resolves #9193
resolves #9200
Problem
With the goal of eventually having a separate dbt artifacts package, move the result artifacts into a new dbt/artifacts directory.
Solution
Split up the contents of core/dbt/contracts/results.py into various files in dbt/artifacts -- base.py, results.py, freshness.py, run.py and catalog.py.
For temporary use while in the middle of this conversion, core/dbt/contracts/results.py has been turned into a file that imports the various classes from dbt/artifacts.
Checklist