josh-fell commented on code in PR #25242: URL: https://github.com/apache/airflow/pull/25242#discussion_r933264822
########## airflow/example_dags/example_branch_operator_decorator.py: ########## @@ -16,10 +16,12 @@ # specific language governing permissions and limitations # under the License. -"""Example DAG demonstrating the usage of the BranchPythonOperator.""" +"""Example DAG demonstrating the usage of the ``@task.branch`` TaskFlow API decorator.""" import random -from datetime import datetime +from typing import List Review Comment: OK, I have no problem adding it to these examples. Happened to find this [flake8 plugin](https://pypi.org/project/flake8-future-annotations/) for `__future__` annotations if we want to start enforcing it in CI too in, dare I say, the future. -- 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]
