Collections support arbitrary key-value metadata. Updates use deep merge — nested dictionaries
are merged recursively, preserving existing keys.
See Metadata for more on how metadata works in Docent.
Parameters
Returns
The collection’s metadata dictionary.
Updates are deep-merged into existing metadata. Existing keys not in the update are preserved.
Parameters
Metadata to merge into the existing metadata.
Returns
The full merged metadata dictionary after the update.
Remove specific keys from metadata. Supports dot-delimited paths for nested deletion.
Parameters
Keys to remove. Use dot notation for nested keys (e.g., "config.model").
Returns
Returns a tuple of two values:
The metadata dictionary after deletion.
Keys that were not found in the metadata.