Skip to content

Commit

Permalink
temp disable ValueError raise behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
naik-aakash committed Jan 10, 2025
1 parent f87161f commit 4faeebd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/autoplex/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4faeebd

Please sign in to comment.