BasPH commented on a change in pull request #5874: [AIRFLOW-5268] Apply same 
DAG naming conventions as in literature
URL: https://github.com/apache/airflow/pull/5874#discussion_r315854328
 
 

 ##########
 File path: airflow/models/dag.py
 ##########
 @@ -227,7 +227,7 @@ def __init__(
         self._description = description
         # set file location to caller source path
         self.fileloc = sys._getframe().f_back.f_code.co_filename
-        self.task_dict = dict()  # type: Dict[str, TaskInstance]
+        self.task_dict = dict()  # type: Dict[str, BaseOperator]
 
 Review comment:
   I changed it in this PR because my IDE (PyCharm) was not suggesting the 
correct methods.

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