Skip to content

data_registry

Classes

DataArchiveAddedEvent

Bases: RegistryEvent

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

    event_type: Literal["data_archive_added"] = "data_archive_added"
    data_archive_id: uuid.UUID = Field(
        description="The unique id of this data archive."
    )
    data_archive_alias: str = Field(
        description="The alias this data archive was added as."
    )
    is_store: bool = Field(
        description="Whether this archive supports write operations (aka implements the 'DataStore' interface)."
    )
    is_default_store: bool = Field(
        description="Whether this store acts as default store."
    )

Attributes

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

ValueCreatedEvent

Bases: RegistryEvent

Source code in kiara/models/events/data_registry.py
33
34
35
36
class ValueCreatedEvent(RegistryEvent):

    event_type: Literal["value_created"] = "value_created"
    value: Value = Field(description="The value metadata.")

Attributes

event_type: Literal['value_created'] = 'value_created' class-attribute
value: Value = Field(description='The value metadata.') class-attribute

ValueRegisteredEvent

Bases: RegistryEvent

Source code in kiara/models/events/data_registry.py
39
40
41
42
class ValueRegisteredEvent(RegistryEvent):

    event_type: Literal["value_registered"] = "value_registered"
    value: Value = Field(description="The value metadata.")

Attributes

event_type: Literal['value_registered'] = 'value_registered' class-attribute
value: Value = Field(description='The value metadata.') class-attribute

ValuePreStoreEvent

Bases: RegistryEvent

Source code in kiara/models/events/data_registry.py
45
46
47
48
class ValuePreStoreEvent(RegistryEvent):

    event_type: Literal["value_pre_store"] = "value_pre_store"
    value: Value = Field(description="The value metadata.")

Attributes

event_type: Literal['value_pre_store'] = 'value_pre_store' class-attribute
value: Value = Field(description='The value metadata.') class-attribute

ValueStoredEvent

Bases: RegistryEvent

Source code in kiara/models/events/data_registry.py
51
52
53
54
class ValueStoredEvent(RegistryEvent):

    event_type: Literal["value_stored"] = "value_stored"
    value: Value = Field(description="The value metadata.")

Attributes

event_type: Literal['value_stored'] = 'value_stored' class-attribute
value: Value = Field(description='The value metadata.') class-attribute