Skip to content

Commit

Permalink
Update core/schemas/observable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop authored Nov 19, 2024
1 parent a1c2320 commit 7833c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/schemas/observable.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def is_valid(self) -> bool:
valid = True
if hasattr(self, "validator"):
try:
valid = self.__class__.validator(self.value)
valid = self.validator(self.value)
except ValueError:
return False
return valid
Expand Down

0 comments on commit 7833c0b

Please sign in to comment.