utkarsharma2 commented on code in PR #31852:
URL: https://github.com/apache/airflow/pull/31852#discussion_r1251891591


##########
airflow/models/taskinstance.py:
##########
@@ -617,6 +619,11 @@ def prev_attempted_tries(self) -> int:
     def next_try_number(self) -> int:
         return self._try_number + 1
 
+    @property
+    def operator_name(self) -> str:
+        """@property: use a more friendly display name for the operator, if 
set."""
+        return self.custom_operator_name or self.operator  # type: ignore

Review Comment:
   @uranusjr Done :)



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