pierrejeambrun commented on code in PR #72029:
URL: https://github.com/apache/airflow/pull/72029#discussion_r3879198275
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/dags.py:
##########
@@ -148,6 +152,12 @@ def get_dags(
order_by=order_by,
dag_ids=readable_dags_filter.value,
)
+ if is_scheduled is not None:
+ unscheduled_timetable_types = ("NullTimetable", "PartitionedAtRuntime")
Review Comment:
We could do this too. I wouldn't crowd the sqlalchemy models (which are very
central to core airflow) for one API filter at this point.
This will need a hybrid expression or something.
But it's perfectly doable, and might be the way to go if we think this
property can be helpful to other parts of the code.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]