mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00

## Summary <!-- What's the purpose of the change? What does it do, and why? --> Apply auto fixes to cases where the names have changed in Airflow 3 in AIR302 and split the huge test cases into different test cases based on proivder ## Test Plan <!-- How was it tested? --> the test cases has been split into multiple for easier checking
49 lines
1,017 B
Python
49 lines
1,017 B
Python
from __future__ import annotations
|
|
|
|
from airflow.operators.bash_operator import BashOperator
|
|
from airflow.operators.dagrun_operator import (
|
|
TriggerDagRunLink,
|
|
TriggerDagRunOperator,
|
|
)
|
|
from airflow.operators.dummy import (
|
|
DummyOperator,
|
|
EmptyOperator,
|
|
)
|
|
from airflow.operators.latest_only_operator import LatestOnlyOperator
|
|
from airflow.operators.python_operator import (
|
|
BranchPythonOperator,
|
|
PythonOperator,
|
|
PythonVirtualenvOperator,
|
|
ShortCircuitOperator,
|
|
)
|
|
from airflow.sensors.external_task_sensor import (
|
|
ExternalTaskMarker,
|
|
ExternalTaskSensor,
|
|
ExternalTaskSensorLink,
|
|
)
|
|
|
|
BashOperator()
|
|
|
|
TriggerDagRunLink()
|
|
TriggerDagRunOperator()
|
|
DummyOperator()
|
|
EmptyOperator()
|
|
|
|
LatestOnlyOperator()
|
|
|
|
BranchPythonOperator()
|
|
PythonOperator()
|
|
PythonVirtualenvOperator()
|
|
ShortCircuitOperator()
|
|
|
|
ExternalTaskMarker()
|
|
ExternalTaskSensor()
|
|
ExternalTaskSensorLink()
|
|
|
|
from airflow.operators.dummy_operator import (
|
|
DummyOperator,
|
|
EmptyOperator,
|
|
)
|
|
|
|
DummyOperator()
|
|
EmptyOperator()
|