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

Add default group_id to init params #399

Merged
merged 4 commits into from
Jul 27, 2023

Conversation

chrishronek
Copy link
Contributor

Description

When attempting to override the group_id parameter of a DbtTaskGroup, I get the following error:

TypeError: __init__() got multiple values for argument 'group_id'

Related Issue(s)

closes #398

Breaking Change?

There are no breaking changes with this PR

Checklist

  • I have made corresponding changes to the documentation (if required)
  • I have added tests that prove my fix is effective or that my feature works

@chrishronek chrishronek requested a review from a team as a code owner July 26, 2023 22:35
@chrishronek chrishronek requested a review from a team July 26, 2023 22:35
@netlify
Copy link

netlify bot commented Jul 26, 2023

👷 Deploy Preview for amazing-pothos-a3bca0 processing.

Name Link
🔨 Latest commit c52024b
🔍 Latest deploy log https://app.netlify.com/sites/amazing-pothos-a3bca0/deploys/64c29071fb4633000808c79a

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2265e16) 79.36% compared to head (c52024b) 79.36%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #399   +/-   ##
=======================================
  Coverage   79.36%   79.36%           
=======================================
  Files          48       48           
  Lines        1691     1691           
=======================================
  Hits         1342     1342           
  Misses        349      349           
Files Changed Coverage Δ
cosmos/airflow/task_group.py 60.00% <0.00%> (ø)

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

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.

Thanks a lot for the contribution, @chrishronek !
At the moment some tests are failing, could you have a look into them?

Copy link
Collaborator

@jlaneve jlaneve left a comment

Choose a reason for hiding this comment

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

this looks good! integration tests are failing bc external contributes don't have access to GH secrets, but we're working to fix it

@jlaneve jlaneve merged commit f58bf0d into astronomer:main Jul 27, 2023
22 of 39 checks passed
@chrishronek chrishronek deleted the fix-groupid-bug branch July 27, 2023 15:59
tatiana pushed a commit that referenced this pull request Aug 9, 2023
## Description

When attempting to override the `group_id` parameter of a DbtTaskGroup,
I get the following error:

```text
TypeError: __init__() got multiple values for argument 'group_id'
```

## Related Issue(s)
closes #398 

## Breaking Change?

There are no breaking changes with this PR

## Checklist

- [x] I have made corresponding changes to the documentation (if
required)
- [x] I have added tests that prove my fix is effective or that my
feature works

Co-authored-by: Julian LaNeve <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple values for group_id
3 participants