-
Notifications
You must be signed in to change notification settings - Fork 177
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
adds profile_config for Docker #1347
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1347 +/- ##
=======================================
Coverage 96.02% 96.02%
=======================================
Files 67 67
Lines 4025 4027 +2
=======================================
+ Hits 3865 3867 +2
Misses 160 160 ☔ 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.
Could you please add a unit test to avoid regression?
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.
Hi @andrewhlui, thanks a lot for your contribution!
Some requests:
- Please add a test for this feature
- If possible, update the docs, mentioning any limitations of this feature (comment inline)
If you can address this before 20 December, we can release this feature as part of Cosmos 1.8
@@ -42,8 +43,10 @@ class DbtDockerBaseOperator(AbstractDbtBaseOperator, DockerOperator): # type: i | |||
def __init__( | |||
self, | |||
image: str, # Make image a required argument since it's required by DockerOperator | |||
profile_config: ProfileConfig | None = None, |
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.
Does this profile work with ProfileMapping or only with a given profiles.yml file?
Description
Adds ProfileConfig to Docker operators so that people can use TaskGroups.
Related Issue(s)
Closes #1346
Breaking Change?
Checklist