jedcunningham commented on code in PR #47376:
URL: https://github.com/apache/airflow/pull/47376#discussion_r1983793601
##########
airflow/models/taskinstance.py:
##########
@@ -3835,10 +3833,12 @@ def __init__(self, content, user_id=None):
self.user_id = user_id
def __repr__(self):
- prefix = f"<{self.__class__.__name__}: {self.dag_id}.{self.task_id}
{self.run_id}"
- if self.map_index != -1:
- prefix += f" map_index={self.map_index}"
- return prefix + ">"
+ if self.task_instance:
Review Comment:
Can this be none? Don't think so?
We should at least have the ti_id as well.
--
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]