From 27f6a3c03f5c9b8b89aa76d8fc02def0c76ffbb4 Mon Sep 17 00:00:00 2001 From: Wesley Gifford <79663411+wgifford@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:10:45 -0500 Subject: [PATCH] allow extra --- services/boilerplate/inference_payloads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/boilerplate/inference_payloads.py b/services/boilerplate/inference_payloads.py index fcab7934..92a084d5 100644 --- a/services/boilerplate/inference_payloads.py +++ b/services/boilerplate/inference_payloads.py @@ -100,7 +100,8 @@ class ForecastingMetadataInput(BaseMetadataInput): ) -class BaseParameters(BaseModel): ... +class BaseParameters(BaseModel): + model_config = ConfigDict(extra="allow", protected_namespaces=()) class ForecastingParameters(BaseParameters):