hussein-awala commented on code in PR #38843:
URL: https://github.com/apache/airflow/pull/38843#discussion_r1556607661


##########
airflow/models/dagrun.py:
##########
@@ -1648,7 +1648,5 @@ def __init__(self, content, user_id=None):
         self.user_id = user_id
 
     def __repr__(self):
-        prefix = f"<{self.__class__.__name__}: {self.dag_id}.{self.dagrun_id} 
{self.run_id}"
-        if self.map_index != -1:
-            prefix += f" map_index={self.map_index}"
+        prefix = f"<{self.__class__.__name__}: 
{self.dag_run_id}.{self.content}"

Review Comment:
   This information is not sufficient, we can use the `dag_run` relationship to 
fetch the dag_id and the run_id.



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