ashb commented on code in PR #47264:
URL: https://github.com/apache/airflow/pull/47264#discussion_r1977792997
##########
scripts/ci/pre_commit/sync_init_decorator.py:
##########
@@ -119,10 +119,6 @@ def _expr_to_ast_dump(expr: str) -> str:
# Mapping of allowble Decorator type -> Class attribute type
_expr_to_ast_dump("Collection[str] | None"):
_expr_to_ast_dump("MutableSet[str]"),
_expr_to_ast_dump("ParamsDict | dict[str, Any] | None"):
_expr_to_ast_dump("ParamsDict"),
- # TODO: This one is legacy access control. Remove it in 3.0.
RemovedInAirflow3Warning
- _expr_to_ast_dump(
- "dict[str, dict[str, Collection[str]]] | dict[str, Collection[str]] |
None"
- ): _expr_to_ast_dump("dict[str, dict[str, Collection[str]]] | None"),
Review Comment:
Not really sure off the top of my head, sorry.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]