Skip to content

Commit

Permalink
bugfix in settings wrap validator
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-neurosc committed Nov 25, 2024
1 parent f562621 commit 550bd49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_neuromodulation/stream/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def validate_settings(self, handler: ModelWrapValidatorHandler) -> Any:

try:
# validate the model
handler(self)
self = handler(self)
except ValidationError as e:
self = NMSettings.unvalidated(**self)
NMSettings.model_fields_set
Expand Down

0 comments on commit 550bd49

Please sign in to comment.