Skip to content

persistence

Classes

ByteProvisioningStrategy

Bases: Enum

Source code in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/kiara/models/module/persistence.py
12
13
14
15
16
17
18
class ByteProvisioningStrategy(Enum):

    INLINE = "INLINE"
    BYTES = "bytes"
    FILE_PATH_MAP = "link_map"
    LINK_FOLDER = "folder"
    COPIED_FOLDER = "copied_folder"

Attributes

INLINE = 'INLINE' class-attribute instance-attribute
BYTES = 'bytes' class-attribute instance-attribute
FILE_PATH_MAP = 'link_map' class-attribute instance-attribute
COPIED_FOLDER = 'copied_folder' class-attribute instance-attribute

BytesStructure

Bases: BaseModel

A data structure that.

Source code in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/kiara/models/module/persistence.py
21
22
23
24
25
26
27
28
29
30
class BytesStructure(BaseModel):

    """A data structure that."""

    data_type: str = Field(description="The data type.")
    data_type_config: Mapping[str, Any] = Field(description="The data type config.")
    chunk_map: Mapping[str, List[Union[str, bytes]]] = Field(
        description="References to byte arrays, Keys are field names, values are a list of hash-ids that the data is composed of.",
        default_factory=dict,
    )

Attributes

data_type: str = Field(description='The data type.') class-attribute instance-attribute
data_type_config: Mapping[str, Any] = Field(description='The data type config.') class-attribute instance-attribute
chunk_map: Mapping[str, List[Union[str, bytes]]] = Field(description='References to byte arrays, Keys are field names, values are a list of hash-ids that the data is composed of.', default_factory=dict) class-attribute instance-attribute

BytesAliasStructure

Bases: BaseModel

Source code in /opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/kiara/models/module/persistence.py
36
37
38
39
40
41
42
43
class BytesAliasStructure(BaseModel):

    data_type: str = Field(description="The data type.")
    data_type_config: Mapping[str, Any] = Field(description="The data type config.")
    chunk_id_map: Mapping[str, List[str]] = Field(
        description="References to byte arrays, Keys are field names, values are a list of hash-ids that the data is composed of.",
        default_factory=dict,
    )

Attributes

data_type: str = Field(description='The data type.') class-attribute instance-attribute
data_type_config: Mapping[str, Any] = Field(description='The data type config.') class-attribute instance-attribute
chunk_id_map: Mapping[str, List[str]] = Field(description='References to byte arrays, Keys are field names, values are a list of hash-ids that the data is composed of.', default_factory=dict) class-attribute instance-attribute