Add filtering to gallery

This commit is contained in:
Julian Stirling 2026-06-24 10:34:09 +01:00
parent e1e8cef8af
commit a5828fbf41
6 changed files with 52 additions and 37 deletions

View file

@ -170,11 +170,6 @@ class SmartScanThing(OFMThing):
# Register with gallery.
_show_data_in_gallery = True
@property
def gallery_data_name(self) -> str:
"""Name under which data shows up in gallery."""
return "Scans"
@property
def gallery_data_schema(self) -> type[scan_directories.ScanInfo]:
"""The schema (BaseModel) for passing data to the gallery."""