Skip to content

Commit 99606e4

Browse files
committed
Relax meta.json schema [ci skip]
1 parent 4430b4b commit 99606e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spacy/schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ class ModelMetaSchema(BaseModel):
282282
sources: Optional[Union[List[StrictStr], List[Dict[str, str]]]] = Field(None, title="Training data sources")
283283
vectors: Dict[str, Any] = Field({}, title="Included word vectors")
284284
labels: Dict[str, List[str]] = Field({}, title="Component labels, keyed by component name")
285-
performance: Dict[str, Union[float, Dict[str, Union[float, dict]]]] = Field({}, title="Accuracy and speed numbers")
285+
performance: Dict[str, Any] = Field({}, title="Accuracy and speed numbers")
286286
spacy_git_version: StrictStr = Field("", title="Commit of spaCy version used")
287287
# fmt: on
288288

0 commit comments

Comments
 (0)