KoviAnusha commented on code in PR #57532:
URL: https://github.com/apache/airflow/pull/57532#discussion_r2506925643


##########
airflow-core/src/airflow/models/dagbag.py:
##########
@@ -72,13 +72,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: Any = inspect(dag_run)
         if info.attrs.created_dag_version.loaded_value is not NO_VALUE:

Review Comment:
   I addressed this one in the latest commit.



-- 
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]

Reply via email to