dstandish commented on code in PR #59115:
URL: https://github.com/apache/airflow/pull/59115#discussion_r2710419442
##########
airflow-core/src/airflow/dag_processing/collection.py:
##########
@@ -144,7 +178,23 @@ def calculate(cls, dag: LazyDeserializedDAG, *, session:
Session) -> Self:
if not dag.timetable.can_be_scheduled:
return cls(None, 0)
- latest_run = session.scalar(_get_latest_runs_stmt(dag_id=dag.dag_id))
+ if isinstance( # todo: AIP-76 what's a more general way to detect?
Review Comment:
i actually figured out, i think, a way where we don't need an attribute
--
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]