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 2018/12/31 05:08:55 UTC

[GitHub] jmcarp commented on a change in pull request #4390: [AIRFLOW-3584] Use ORM DAGs for index view.

jmcarp commented on a change in pull request #4390: [AIRFLOW-3584] Use ORM DAGs for index view.
URL: https://github.com/apache/incubator-airflow/pull/4390#discussion_r244554316
 
 

 ##########
 File path: airflow/models/__init__.py
 ##########
 @@ -2973,6 +2987,8 @@ class DagModel(Base):
     description = Column(Text)
     # Default view of the inside the webserver
     default_view = Column(String(25))
+    # Schedule interval
+    schedule_interval = Column(PickleType(pickler=dill))
 
 Review comment:
   I'm not sure about the pickle roadmap either, but dropping pickle for 2.0 would be great. I added an `Interval` type that knows how to serialize and deserialize `timedelta` and `relativedelta`. WDYT?

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


With regards,
Apache Git Services