potiuk commented on code in PR #25242:
URL: https://github.com/apache/airflow/pull/25242#discussion_r932212169


##########
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:
   I am indifferent with that one. We already have a few cases where __future__ 
annotation is used (in `breeze` for example) so It's already spilled here and 
there in our codebase. It's harmless for cherry-picking in examples, so this is 
not a worry for me. I guess we can slowly start with adding __future_ 
annotations in places where we have low probability of conflicts with 
cherry-picking.



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