From 4faeebd33ba44029df4191ebb5703d5eec1c5ab6 Mon Sep 17 00:00:00 2001 From: naik-aakash Date: Fri, 10 Jan 2025 21:00:30 +0100 Subject: [PATCH] temp disable ValueError raise behaviour --- src/autoplex/settings.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/autoplex/settings.py b/src/autoplex/settings.py index 401c726d..630acf51 100644 --- a/src/autoplex/settings.py +++ b/src/autoplex/settings.py @@ -28,10 +28,10 @@ def update_fields(self, updates: dict[str, Any]): else: # Update field value setattr(self, key, value) - else: - raise ValueError( - f"Field {key} does not exist in {self.__class__.__name__}." - ) + # else: + # raise ValueError( + # f"Field {key} does not exist in {self.__class__.__name__}." + # ) class GeneralSettings(UpdateBaseModel):