From 29d63d5dea8cd0617bc2490e07e13154520400d5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 8 Nov 2024 05:58:14 +1000 Subject: [PATCH] fix(app): silence pydantic protected namespace warning Closes #7287 --- invokeai/backend/model_manager/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/backend/model_manager/config.py b/invokeai/backend/model_manager/config.py index b29c5071b65..947a7dd39f9 100644 --- a/invokeai/backend/model_manager/config.py +++ b/invokeai/backend/model_manager/config.py @@ -165,6 +165,8 @@ class SubmodelDefinition(BaseModel): model_type: ModelType variant: AnyVariant = None + model_config = ConfigDict(protected_namespaces=()) + class MainModelDefaultSettings(BaseModel): vae: str | None = Field(default=None, description="Default VAE for this model (model key)")