You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/09/20 14:50:20 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #6157: [AIRFLOW-774] Fix long-broken DAG parsing Statsd metrics

mik-laj commented on a change in pull request #6157: [AIRFLOW-774] Fix long-broken DAG parsing Statsd metrics
URL: https://github.com/apache/airflow/pull/6157#discussion_r326665354
 
 

 ##########
 File path: airflow/utils/dag_processing.py
 ##########
 @@ -445,6 +446,7 @@ def file_path(self):
 
 
 DagParsingStat = namedtuple('DagParsingStat', ['file_paths', 'done', 'all_files_processed'])
+DagFileStat = namedtuple('DagFileStat', ['num_dags', 'import_errors', 'last_finish_time', 'last_duration', 'run_count'])
 
 Review comment:
   Do you target to master branch? If yes, can you use a typed namedtuple here?
   https://docs.python.org/3/library/typing.html#typing.NamedTuple 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services