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

Fix bug causing select and exclude filter issues #410

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

chrishronek
Copy link
Contributor

Description

When load_method was set to LoadMode.CUSTOM, any select/exclude parameters were ineffective. This is because the entire node list was being passed to the build_airflow_graph method instead of a filtered list of nodes.

Related Issue(s)

closes #409

Breaking Change?

No breaking changes with this change

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 27, 2023 19:59
@chrishronek chrishronek requested a review from a team July 27, 2023 19:59
@netlify
Copy link

netlify bot commented Jul 27, 2023

👷 Deploy Preview for amazing-pothos-a3bca0 processing.

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

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Patch coverage has no change and project coverage change: -11.91% ⚠️

Comparison is base (22e66f3) 91.35% compared to head (8a1de24) 79.45%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #410       +/-   ##
===========================================
- Coverage   91.35%   79.45%   -11.91%     
===========================================
  Files          48       48               
  Lines        1689     1689               
===========================================
- Hits         1543     1342      -201     
- Misses        146      347      +201     
Files Changed Coverage Δ
cosmos/converter.py 35.71% <ø> (-61.43%) ⬇️

... and 10 files with indirect coverage changes

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

@jlaneve jlaneve merged commit 1828b65 into astronomer:main Jul 27, 2023
22 of 39 checks passed
@chrishronek chrishronek deleted the filter-bug branch July 27, 2023 20:58
tatiana pushed a commit that referenced this pull request Aug 9, 2023
## Description
When `load_method` was set to `LoadMode.CUSTOM`, any `select/exclude`
parameters were ineffective. This is because the entire node list was
being passed to the `build_airflow_graph` method instead of a filtered
list of nodes.

## Related Issue(s)
closes #409 

## Breaking Change?
No breaking changes with this change

## Checklist

- [x] 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
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.

Select/Exclude doens't filter when load_method set to custom
2 participants