https://github.com/apache/airflow/blob/main/airflow/cli/commands/task_command.py#L145
"""Make sure it deals automatically with SQLAlchemy ORM classes."""
        from_attributes = True
        orm_mode = True  
        arbitrary_types_allowed = True
    @provide_session
    def get_task_instances(
        self,
        state: Iterable[TaskInstanceState | None] | None = None,
        session: Session = NEW_SESSION,
    ) -> list[TI]:
        """
        Return the task instances for this dag run.
        TODO: make it works for AIP-44
        """
        raise NotImplementedError()
    @provide_session
    def get_task_instance(