Skip to content

Conversation

@Lee-W
Copy link
Contributor

@Lee-W Lee-W commented Apr 1, 2025

Summary

attribute check was missing in the previous implementation

e.g.

from airflow.api.auth.backend import basic_auth

basic_auth.auth_current_user

This PR adds this kind of check.

Test Plan

The test case has been added to the button of the existing test fixtures, confirmed to be correct and later reorgnaized

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Contributor

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

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

LGTM

@Lee-W Lee-W force-pushed the add-more-AIR303-condition branch from 7aad00e to 189cf32 Compare April 2, 2025 10:01
@dhruvmanila dhruvmanila added rule Implementing or modifying a lint rule preview Related to preview mode features labels Apr 2, 2025
@Lee-W Lee-W force-pushed the add-more-AIR303-condition branch 2 times, most recently from 5573369 to ebd06bb Compare April 3, 2025 02:22
@Lee-W Lee-W marked this pull request as draft April 3, 2025 02:22
@Lee-W Lee-W changed the title [airflow] Add misssing AIR303 attribute check [airflow] Add misssing AIR302 attribute check Apr 3, 2025
@Lee-W Lee-W force-pushed the add-more-AIR303-condition branch from ebd06bb to debb3a2 Compare April 8, 2025 03:31
@Lee-W
Copy link
Contributor Author

Lee-W commented Apr 8, 2025

This PR is now based on #17278

@Lee-W Lee-W force-pushed the add-more-AIR303-condition branch 2 times, most recently from 76739c6 to 271f941 Compare April 8, 2025 13:11
@Lee-W Lee-W marked this pull request as ready for review April 8, 2025 13:11
@Lee-W
Copy link
Contributor Author

Lee-W commented Apr 8, 2025

Thanks @ntBre, for merging #17278! This one is ready as well

@Lee-W
Copy link
Contributor Author

Lee-W commented Apr 8, 2025

I guess we might need @dhruvmanila to confirm as well?

@Lee-W Lee-W changed the title [airflow] Add misssing AIR302 attribute check [airflow] Add missing AIR302 attribute check Apr 8, 2025
@ntBre
Copy link
Contributor

ntBre commented Apr 9, 2025

I can override Dhruv's review if needed 😉 Can you fix the merge conflicts? Then I'll try to review today.

@Lee-W Lee-W force-pushed the add-more-AIR303-condition branch from a925a8c to d1a7740 Compare April 9, 2025 15:09
@Lee-W
Copy link
Contributor Author

Lee-W commented Apr 9, 2025

Just updated! 🙏

@ntBre ntBre self-assigned this Apr 9, 2025
Copy link
Contributor

@ntBre ntBre 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 to me!

@ntBre ntBre changed the title [airflow] Add missing AIR302 attribute check [airflow] Add missing AIR302 attribute check Apr 9, 2025
@ntBre ntBre merged commit c87e3cc into astral-sh:main Apr 9, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Related to preview mode features rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants