job_registry
Classes¶
JobArchiveAddedEvent (RegistryEvent)
pydantic-model
¶
Source code in kiara/models/events/job_registry.py
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']
pydantic-field
¶
is_default_store: bool
pydantic-field
required
¶
Whether this store acts as default store.
is_store: bool
pydantic-field
required
¶
Whether this archive supports write operations (aka implements the 'JobStore' interface).
job_archive_alias: str
pydantic-field
required
¶
The alias this job archive was added as.
job_archive_id: UUID
pydantic-field
required
¶
The unique id of this job archive.
JobRecordPreStoreEvent (RegistryEvent)
pydantic-model
¶
Source code in kiara/models/events/job_registry.py
class JobRecordPreStoreEvent(RegistryEvent):
event_type: Literal["job_record_pre_store"] = "job_record_pre_store"
job_record: JobRecord = Field(description="The job record.")
JobRecordStoredEvent (RegistryEvent)
pydantic-model
¶
Source code in kiara/models/events/job_registry.py
class JobRecordStoredEvent(RegistryEvent):
event_type: Literal["job_record_stored"] = "job_record_stored"
job_record: JobRecord = Field(description="The job record.")