ruff
[`airflow`] Second positional argument to `Asset`/`Dataset` should not be a dictionary (`AIR303`)
#22453
Merged

[`airflow`] Second positional argument to `Asset`/`Dataset` should not be a dictionary (`AIR303`) #22453

sjyangkevin
astral-sh-bot
Lee-W
Lee-W commented on 2026-01-08
sjyangkevin sjyangkevin force pushed from dafc4b30 to cf31b81e 22 days ago
sjyangkevin
sjyangkevin commented on 2026-01-08
sjyangkevin sjyangkevin requested a review from Lee-W Lee-W 22 days ago
amyreese amyreese added rule
Lee-W
Lee-W commented on 2026-01-09
sjyangkevin
sjyangkevin commented on 2026-01-09
MichaReiser MichaReiser requested a review from ntBre ntBre 21 days ago
ntBre ntBre added preview
ntBre
ntBre commented on 2026-01-15
sjyangkevin sjyangkevin force pushed from 28524a48 to 54274a1a 15 days ago
sjyangkevin sjyangkevin requested a review from ntBre ntBre 15 days ago
sjyangkevin sjyangkevin requested a review from Lee-W Lee-W 15 days ago
ntBre
ntBre approved these changes on 2026-01-16
Lee-W
Lee-W commented on 2026-01-17
Lee-W
Lee-W commented on 2026-01-17
sjyangkevin add new check for Dataset/Asset arguments
d5dbc328
sjyangkevin update message for the rule
482a5233
sjyangkevin small improvement to message
ad107e70
sjyangkevin update test snapshot
04b02feb
sjyangkevin update the logic to check for value/expression of type dict
7bc5abe7
sjyangkevin remove extra blank line
60f8ec24
sjyangkevin sjyangkevin force pushed from 54274a1a to 60f8ec24 13 days ago
ntBre ntBre changed the title [`airflow`] Second positional argument to Asset/Dataset should not be a dictionary (`AIR303`) [`airflow`] Second positional argument to `Asset`/`Dataset` should not be a dictionary (`AIR303`) 13 days ago
ntBre ntBre merged 704d30f4 into main 13 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone