mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(mm): do not allow extra fields on ModelRecordChanges
This commit is contained in:
parent
a8b6635050
commit
58fa9c2fac
@ -59,7 +59,7 @@ class ModelSummary(BaseModel):
|
|||||||
tags: Set[str] = Field(description="tags associated with model")
|
tags: Set[str] = Field(description="tags associated with model")
|
||||||
|
|
||||||
|
|
||||||
class ModelRecordChanges(BaseModelExcludeNull, extra="allow"):
|
class ModelRecordChanges(BaseModelExcludeNull):
|
||||||
"""A set of changes to apply to a model."""
|
"""A set of changes to apply to a model."""
|
||||||
|
|
||||||
# Changes applicable to all models
|
# Changes applicable to all models
|
||||||
|
Loading…
Reference in New Issue
Block a user