uranusjr commented on code in PR #57532:
URL: https://github.com/apache/airflow/pull/57532#discussion_r2532428864
##########
airflow-core/src/airflow/models/dagbag.py:
##########
@@ -72,13 +73,16 @@ def _version_from_dag_run(dag_run: DagRun, *, session:
Session) -> DagVersion:
return dag_version
# Check if created_dag_version relationship is already loaded to avoid
DetachedInstanceError
- info = inspect(dag_run)
+ info: InstanceState = inspect(dag_run)
Review Comment:
Why do we need this?
--
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]