uranusjr commented on code in PR #38843:
URL: https://github.com/apache/airflow/pull/38843#discussion_r1648445031
##########
airflow/models/dagrun.py:
##########
@@ -1661,7 +1661,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.dag_id}.{self.dag_run_id} {self.dag_run.run_id} {self.content}"
Review Comment:
This should still show map_index. Honestly I’m not event sure why
`dag_run_id` should be shown, it is just a number and not really useful in any
way.
--
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]