We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 542e066 commit 62a2a01Copy full SHA for 62a2a01
1 file changed
src/labthings_fastapi/properties.py
@@ -1057,7 +1057,7 @@ def reset(self, obj: Owner) -> None:
1057
msg = f"Property {self._owner_name}.{self.name} cannot be reset."
1058
raise FeatureNotAvailableError(msg)
1059
1060
- def is_resettable(self, obj: Owner) -> bool:
+ def is_resettable(self, obj: Owner | None) -> bool:
1061
"""Whether the property may be reset.
1062
1063
This will be true if a `resetter` function has been added, or if a default is
0 commit comments