-
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
Use new context invocation class to cache environment variables. #9489
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. |
Changes look good overall. I guess we'll need to release on dbt-common first with the corresponding changes in dbt-labs/dbt-common#52 to see CI passing |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #9489 +/- ##
==========================================
- Coverage 88.04% 87.96% -0.08%
==========================================
Files 167 167
Lines 22126 22171 +45
==========================================
+ Hits 19480 19503 +23
- Misses 2646 2668 +22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
core/dbt/task/runnable.py
Outdated
@@ -414,6 +416,10 @@ def execute_nodes(self): | |||
|
|||
return self.node_results | |||
|
|||
@staticmethod | |||
def _pool_thread_initializer(ci): |
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.
nit: is ci
the InvocationContext? If so, we can name it ic
and type annotate for clarity
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.
oops, yes
resolves #
Problem
Solution
Checklist