https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
"""
        Return the try number that a task number will be when it is actually run.
        If the TaskInstance is currently running, this will match the column in the
        database, in all other cases this will be incremented.
        This is designed so that task logs end up in the right file.
        """
        return _get_try_number(task_instance=self)
    @try_number.setter
    def try_number(self, value: int) -> None:
        """
        Set a task try number.
        :param value: the try number
        """
        _set_try_number(task_instance=self, value=value)
    @property
    def prev_attempted_tries(self) -> int:
        """
        Calculate the number of previously attempted tries, defaulting to 0.
        Expose this for the Task Tries and Gantt graph views.
        Using `try_number` throws off the counts for non-running tasks.
        Also useful in error logging contexts to get the try number for the last try that was attempted.
        https://issues.apache.org/jira/browse/AIRFLOW-2143
        """
        return self._try_number
    @property
    def next_try_number(self) -> int:
        return self._try_number + 1
    @property
    def operator_name(self) -> str | None: