citrine.informatics.executions.execution module

class citrine.informatics.executions.execution.Execution

Bases: Pageable, AsynchronousObject, ABC

A base class for execution resources.

This class provides an abstraction for the execution resources.

failed() bool

Whether the backend process has completed unsuccessfully.

in_progress() bool

Whether the backend process is in progress.

succeeded() bool

Whether the backend process has completed successfully.

create_time = None

date and time at which the resource was created

Type:

Optional[datetime]

created_by = None

id of the user who created the resource

Type:

Optional[UUID]

project_id: UUID | None = None
status = None

short description of the execution’s status

Type:

Optional[str]

status_description = None

more detailed description of the execution’s status

Type:

Optional[str]

status_detail = []

a list of structured status info, containing the message and level

Type:

List[StatusDetail]

uid: UUID = None

Unique identifier of the execution

Type:

UUID

update_time = None

date and time at which the resource was most recently updated, if it has been updated

Type:

Optional[datetime]

updated_by = None

id of the user who most recently updated the resource, if it has been updated

Type:

Optional[UUID]