kaxil commented on a change in pull request #6601: [AIRFLOW-6010] Remove cyclic 
imports and pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r348502363
 
 

 ##########
 File path: airflow/models/baseoperator.py
 ##########
 @@ -393,27 +390,28 @@ def __init__(
                 .format(all_weight_rules=WeightRule.all_weight_rules,
                         d=dag.dag_id if dag else "", t=task_id, 
tr=weight_rule))
         self.weight_rule = weight_rule
+        self.resources: Optional[Resources] = None
+        if resources is not None:
+            # noinspection PyTypeChecker
 
 Review comment:
   ?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to