TimelineEntry#

Module: iqm.station_control.interface.models.jobs_new

class TimelineEntry(*, source, status, timestamp)#

Bases: BaseModel

Timeline entry for a job.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

source

Source of the timeline entry.

status

Name of the execution step that was reached.

timestamp

Time at which status was reached.

Methods

Parameters:
  • source (Literal['iqm-server', 'iqm-station-control'] | str)

  • status (str)

  • timestamp (datetime)

source: Source#

Source of the timeline entry.

status: str#

Name of the execution step that was reached.

timestamp: datetime#

Time at which status was reached.

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Inheritance

Inheritance diagram of iqm.station_control.interface.models.jobs_new.TimelineEntry