Skip to content

job_registry

Classes

JobArchiveAddedEvent

Bases: RegistryEvent

Source code in kiara/models/events/job_registry.py
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class JobArchiveAddedEvent(RegistryEvent):

    event_type: Literal["job_archive_added"] = "job_archive_added"

    job_archive_id: uuid.UUID = Field(description="The unique id of this job archive.")
    job_archive_alias: str = Field(
        description="The alias this job archive was added as."
    )
    is_store: bool = Field(
        description="Whether this archive supports write operations (aka implements the 'JobStore' interface)."
    )
    is_default_store: bool = Field(
        description="Whether this store acts as default store."
    )

Attributes

event_type: Literal['job_archive_added'] = 'job_archive_added' class-attribute
job_archive_id: uuid.UUID = Field(description='The unique id of this job archive.') class-attribute
job_archive_alias: str = Field(description='The alias this job archive was added as.') class-attribute
is_store: bool = Field(description="Whether this archive supports write operations (aka implements the 'JobStore' interface).") class-attribute
is_default_store: bool = Field(description='Whether this store acts as default store.') class-attribute

JobRecordPreStoreEvent

Bases: RegistryEvent

Source code in kiara/models/events/job_registry.py
32
33
34
35
class JobRecordPreStoreEvent(RegistryEvent):

    event_type: Literal["job_record_pre_store"] = "job_record_pre_store"
    job_record: JobRecord = Field(description="The job record.")

Attributes

event_type: Literal['job_record_pre_store'] = 'job_record_pre_store' class-attribute
job_record: JobRecord = Field(description='The job record.') class-attribute

JobRecordStoredEvent

Bases: RegistryEvent

Source code in kiara/models/events/job_registry.py
38
39
40
41
class JobRecordStoredEvent(RegistryEvent):

    event_type: Literal["job_record_stored"] = "job_record_stored"
    job_record: JobRecord = Field(description="The job record.")

Attributes

event_type: Literal['job_record_stored'] = 'job_record_stored' class-attribute
job_record: JobRecord = Field(description='The job record.') class-attribute