filespace_models
LucidLink Python Library - Filespace Type Definitions
Types for filespace identity and configuration.
lucidlink.filespace_models.CacheConfig
Initial cache sizes to apply atomically when linking a filespace.
Passed to Workspace.link_filespace(cache=...). Each field is optional and independent; a field left as None leaves the configured default in place. Sizes are in bytes.
Attribute | Type | Description |
|---|---|---|
|
| Initial data cache size in bytes (must be a multiple of 1 MiB). Applied atomically during link; an invalid value rolls the link back and raises. None keeps the configured default. |
|
| Initial metadata cache size in bytes, applied atomically during link. None keeps the configured default. |
data_bytes
Type
Optional[int]Description
Initial data cache size in bytes (must be a multiple of 1 MiB). Applied atomically during link; an invalid value rolls the link back and raises. None keeps the configured default.
metadata_bytes
Type
Optional[int]Description
Initial metadata cache size in bytes, applied atomically during link. None keeps the configured default.
lucidlink.filespace_models.FilespaceInfo
Summary information for a filespace in a workspace listing.
Returned by Workspace.list_filespaces().
Attribute | Type | Description |
|---|---|---|
|
| Unique filespace identifier. |
|
| Human-readable filespace name. |
|
| Creation timestamp (ISO 8601). |
id
Type
strDescription
Unique filespace identifier.
name
Type
strDescription
Human-readable filespace name.
created
Type
strDescription
Creation timestamp (ISO 8601).
lucidlink.filespace_models.SyncMode
Controls whether changes are automatically synchronized to LucidLink services on close.
Member | Value | Description |
|---|---|---|
|
| Do not sync automatically — caller must call sync_all() explicitly. |
|
| (default) Automatically call sync_all() before unlinking filespaces. |
SYNC_NONE
Value
'none'Description
Do not sync automatically — caller must call sync_all() explicitly.
SYNC_ALL
Value
'all'Description
(default) Automatically call sync_all() before unlinking filespaces.