server.web.models.task_instance =============================== .. py:module:: server.web.models.task_instance .. autoapi-nested-parse:: Task Instance Database Table. Attributes ---------- .. autoapisummary:: server.web.models.task_instance.logger Classes ------- .. autoapisummary:: server.web.models.task_instance.TaskInstance Module Contents --------------- .. py:data:: logger .. py:class:: TaskInstance Bases: :py:obj:`jobmon.server.web.models.Base` Task Instance Database Table. .. py:method:: to_wire_as_distributor_task_instance() -> Tuple Serialize task instance object. .. py:method:: to_wire_as_worker_node_task_instance() -> Tuple Serialize task instance object. .. py:attribute:: id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: workflow_run_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: array_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: task_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: distributor_id :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: task_resources_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: array_batch_num :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: array_step_id :type: sqlalchemy.orm.Mapped[int] .. py:attribute:: nodename .. py:attribute:: process_group_id .. py:attribute:: usage_str .. py:attribute:: wallclock .. py:attribute:: maxrss .. py:attribute:: maxpss .. py:attribute:: cpu .. py:attribute:: io .. py:attribute:: stdout .. py:attribute:: stderr .. py:attribute:: stdout_log .. py:attribute:: stderr_log .. py:attribute:: status :type: sqlalchemy.orm.Mapped[str] .. py:attribute:: submitted_date .. py:attribute:: status_date .. py:attribute:: report_by_date .. py:attribute:: task .. py:attribute:: errors .. py:attribute:: task_resources .. py:attribute:: valid_transitions .. py:attribute:: untimely_transitions .. py:attribute:: error_states .. py:method:: transition(new_state: str) -> None Transition the TaskInstance status.