https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
"""Is task instance is eligible for retry."""
        return _is_eligible_to_retry(task_instance=self)
    def get_template_context(
        self,
        session: Session | None = None,
        ignore_param_exceptions: bool = True,
    ) -> Context:
        """
        Return TI Context.
        :param session: SQLAlchemy ORM Session
        :param ignore_param_exceptions: flag to suppress value exceptions while initializing the ParamsDict
        """
        return _get_template_context(
            task_instance=self,
            session=session,
            ignore_param_exceptions=ignore_param_exceptions,
        )
    @provide_session
    def get_rendered_template_fields(self, session: Session = NEW_SESSION) -> None: