josh-fell commented on code in PR #25242:
URL: https://github.com/apache/airflow/pull/25242#discussion_r931186044


##########
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:
   Interesting idea. Since there is a _lot_ of blind copy/paste from examples, 
do we want `from __future__ import annotation` to be a pattern users should 
follow? This would be my only concern really.



-- 
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]

Reply via email to