Skip to content

Commit

Permalink
snap for AIR303
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekbhakat committed Nov 27, 2024
1 parent 92670b1 commit ce9abc3
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
source: crates/ruff_linter/src/rules/airflow/mod.rs
snapshot_kind: text
---
AIR303.py:7:5: AIR303 Use `max_active_tis_per_dag` instead of deprecated `task_concurrency` parameter
|
5 | task1 = PythonOperator(
6 | task_id="task1",
7 | task_concurrency=2, # This should trigger AIR303
| ^^^^^^^^^^^^^^^^^^ AIR303
8 | python_callable=lambda: None,
9 | )
|

AIR303.py:21:5: AIR303 Use `max_active_tis_per_dag` instead of deprecated `task_concurrency` parameter
|
19 | task3 = PythonOperator(
20 | task_id="task3",
21 | task_concurrency=5, # This should trigger AIR303
| ^^^^^^^^^^^^^^^^^^ AIR303
22 | python_callable=lambda: None,
23 | )
|

0 comments on commit ce9abc3

Please sign in to comment.