Enable validation for all Things and pick correct branch

This commit updates the branch to use Thing._class_settings instead of FEATURE_FLAGS for a safer way to implement new features.
This commit is contained in:
Richard Bowman 2026-04-22 00:28:10 +01:00 committed by Julian Stirling
parent 05f92b9b33
commit 622fa17634
11 changed files with 20 additions and 4 deletions

View file

@ -172,6 +172,8 @@ class BaseCamera(OFMThing):
``__init__`` method of the subclass.
"""
_class_settings = {"validate_properties_on_set": True}
_all_background_detectors: Mapping[str, BackgroundDetectAlgorithm] = lt.thing_slot()
mjpeg_stream = lt.outputs.MJPEGStreamDescriptor()