ruff
c161e4fb - [`airflow`] Extend airflow context parameter check for `BaseOperator.execute` (`AIR302`) (#15713)

Commit
1 year ago
[`airflow`] Extend airflow context parameter check for `BaseOperator.execute` (`AIR302`) (#15713) ## Summary <!-- What's the purpose of the change? What does it do, and why? --> * feat * add is_execute_method_inherits_from_airflow_operator for checking the removed context key in the execute method * refactor: rename * is_airflow_task as is_airflow_task_function_def * in_airflow_task as in_airflow_task_function_def * removed_in_3 as airflow_3_removal_expr * removed_in_3_function_def as airflow_3_removal_function_def * test: * reorganize test cases ## Test Plan a test fixture has been updated --------- Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
Author
Parents
Loading