mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 00:52:17 +03:00
Generic classification card (#20379)
* Refactor face card into generic classification card * Update classification data card to use classification card * Refactor state training grid to use classification card * Refactor grouped face card into generic component * Combine classification objects by event * Fixup * Cleanup * Cleanup * Do not fail if a single event is not found * Save original frame * Cleanup * Undo
This commit is contained in:
@@ -434,10 +434,8 @@ async def event_ids(ids: str, request: Request):
|
||||
event = Event.get(Event.id == event_id)
|
||||
await require_camera_access(event.camera, request=request)
|
||||
except DoesNotExist:
|
||||
return JSONResponse(
|
||||
content=({"success": False, "message": f"Event {event_id} not found"}),
|
||||
status_code=404,
|
||||
)
|
||||
# we should not fail the entire request if an event is not found
|
||||
continue
|
||||
|
||||
try:
|
||||
events = Event.select().where(Event.id << ids).dicts().iterator()
|
||||
|
||||
Reference in New Issue
Block a user