Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions infra/base-images/base-builder/indexer/manifest_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ class Manifest:
# Version of the index database schema.
index_db_version: int | None = None

metadata: dict[str, str] = dataclasses.field(default_factory=dict)

@classmethod
def from_dict(cls, data: dict[str, Any]) -> Self:
"""Creates a Manifest object from a deserialized dict."""
Expand Down Expand Up @@ -332,6 +334,7 @@ def from_dict(cls, data: dict[str, Any]) -> Self:
data, "reproducibility", Reproducibility.from_dict
),
binary_config=binary_config,
metadata=data.get("metadata", {}),
)

def to_dict(self) -> dict[str, Any]:
Expand Down
Loading