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 2022/12/11 20:35:46 UTC
[GitHub] [airflow] miky-schreiber commented on a diff in pull request #27953: Add timezone to dags in main screen
miky-schreiber commented on code in PR #27953:
URL: https://github.com/apache/airflow/pull/27953#discussion_r1045292916
##########
airflow/models/dag.py:
##########
@@ -3204,6 +3204,13 @@ def __init__(self, concurrency=None, **kwargs):
def __repr__(self):
return f"<DAG: {self.dag_id}>"
+ @property
+ def schedule_description(self) -> str | None:
Review Comment:
@pierrejeambrun the DagModel class doesn't have self.timetable attribute. I used self.timetable_description instead.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org