[airflow] Remove airflow.utils.dag_parsing_context.get_parsing_context (AIR301) (#17852)
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary <!-- What's the purpose of the change? What does it do, and why? --> Remove `airflow.utils.dag_parsing_context.get_parsing_context` from AIR301 as it has been moved to AIR311 ## Test Plan <!-- How was it tested? --> the test fixture was updated in the previous PR
This commit is contained in:
@@ -710,11 +710,6 @@ fn check_name(checker: &Checker, expr: &Expr, range: TextRange) {
|
||||
// airflow.utils.dag_cycle_tester
|
||||
["dag_cycle_tester", "test_cycle"] => Replacement::None,
|
||||
|
||||
// airflow.utils.dag_parsing_context
|
||||
["dag_parsing_context", "get_parsing_context"] => {
|
||||
Replacement::Name("airflow.sdk.get_parsing_context")
|
||||
}
|
||||
|
||||
// airflow.utils.db
|
||||
["db", "create_session"] => Replacement::None,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user