alexbegg commented on pull request #2460: URL: https://github.com/apache/airflow/pull/2460#issuecomment-684083145
Another snag I ran into is I tried to replicate this functionality on top of the latest master branch changes: I can't figure out how to access the `schedulable_at` and `scheduled_in` properties on the `DAG` model, because `dags.html` is only iterating on `DagModel`s instead which is getting columns from the dag table of the db. I know I can access the DAG object by importing the model and doing `DAG(dag_id=dag.dag_id)` but I don't know how to do that in the template unless I somehow make a method of the DagModel to get the dag object. Sorry, my flask knowledge is a bit rusty. I guess an alternative would be to make this asynchronous and not use the property directly in the template. ---------------------------------------------------------------- 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: [email protected]
