Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request caikit#723 from flaviabeo/main
Browse files Browse the repository at this point in the history
Changes metadata field to accept all types
  • Loading branch information
evaline-ju authored May 28, 2024
2 parents 06a780e + 8cdfd08 commit 4abc7ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caikit/interfaces/runtime/data_model/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

# Local
from caikit.core.data_model import PACKAGE_COMMON, DataObjectBase, dataobject
from caikit.core.data_model.json_dict import JsonDict

log = alog.use_channel("RUNTIMEOPS")

Expand Down Expand Up @@ -61,7 +62,7 @@ class ModelInfo(DataObjectBase):
model_path: Annotated[str, FieldNumber(1)]
name: Annotated[str, FieldNumber(2)]
size: Annotated[int, FieldNumber(3)]
metadata: Annotated[Dict[str, str], FieldNumber(4)]
metadata: Annotated[JsonDict, FieldNumber(4)]
loaded: Annotated[bool, FieldNumber(7)]

# Module Information
Expand Down

0 comments on commit 4abc7ba

Please sign in to comment.