yrqls21 commented on a change in pull request #3873: [Airflow-2760] Decouple 
DAG parsing loop from scheduler loop
URL: https://github.com/apache/incubator-airflow/pull/3873#discussion_r218242784
 
 

 ##########
 File path: airflow/utils/dag_processing.py
 ##########
 @@ -121,6 +143,45 @@ def get_task_special_arg(self, task_id, special_arg_name):
             return None
 
 
+class SimpleTaskInstance(object):
 
 Review comment:
   Good to know about Namedtuple :D Tho I plan to add some more stuff into this 
class including 
methods([PR](https://github.com/yrqls21/incubator-airflow/pull/4) WIP). I might 
explore to see if there's cleaner way to write it as the class indeed is going 
to be mostly holding variables.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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