class_docstr: Serializable representation of the TaskInstance ORM SqlAlchemyModel used by internal API.
class_docstr_tok: ["Serializable","representation","of","the","TaskInstance","ORM","SqlAlchemyModel","used","by","internal","API","."]
docstr: Return a command that can be executed anywhere where airflow is installed.
  
  This command is part of the message sent to executors by the orchestrator.
docstr_tok: ["Return","a","command","that","can","be","executed","anywhere","where","airflow","is","installed",".","This","command","is","part","of","the","message","sent","to","executors","by","the","orchestrator","."]
code: def command_as_list(
      self,
      mark_success: bool = False,
      ignore_all_deps: bool = False,
      ignore_task_deps: bool = False,
      ignore_depends_on_past: bool = False,
      wait_for_past_depends_before_skipping: bool = False,
      ignore_ti_state: bool = False,
      local: bool = False,
      pickle_id: int | None = None,
      raw: bool = False,
      job_id: str | None = None,
      pool: str | None = None,
      cfg_path: str | None = None,
  ) -> list[str]:
      """
      Return a command that can be executed anywhere where airflow is installed.
  
      This command is part of the message sent to executors by the orchestrator.
      """
      return TaskInstance._command_as_list(
          ti=self,
          mark_success=mark_success,
          ignore_all_deps=ignore_all_deps,
          ignore_task_deps=ignore_task_deps,
          ignore_depends_on_past=ignore_depends_on_past,
          wait_for_past_depends_before_skipping=wait_for_past_depends_before_skipping,
          ignore_ti_state=ignore_ti_state,
          local=local,
          pickle_id=pickle_id,
          raw=raw,
          job_id=job_id,
          pool=pool,
          cfg_path=cfg_path,
      )
  
imports: from __future__ import annotations
  from datetime import datetime
  from typing import TYPE_CHECKING, Any, Iterable, Optional
  from pydantic import BaseModel, ConfigDict, PlainSerializer, PlainValidator
  from typing_extensions import Annotated
  from airflow.models import Operator
  from airflow.models.baseoperator import BaseOperator
  from airflow.models.taskinstance import TaskInstance
  from airflow.serialization.pydantic.dag import DagModelPydantic
  from airflow.serialization.pydantic.dag_run import DagRunPydantic
  from airflow.utils.log.logging_mixin import LoggingMixin
  from airflow.utils.net import get_hostname
  from airflow.utils.session import NEW_SESSION, provide_session
  from airflow.utils.xcom import XCOM_RETURN_KEY
label_desc: Use image node_id 21 for calling the TaskInstancePydantic obj's underlying member method code with example usage: obj.command_as_list(mark_success, ignore_all_deps, ignore_task_deps, ignore_depends_on_past, wait_for_past_depends_before_skipping, ignore_ti_state, local, pickle_id, raw, job_id, pool, cfg_path) and returns: TaskInstance