mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
add event id back to chroma metadata
This commit is contained in:
parent
fc2cacadbd
commit
5415c6c999
@ -43,7 +43,7 @@ def get_metadata(event: Event) -> dict:
|
|||||||
{
|
{
|
||||||
k: v
|
k: v
|
||||||
for k, v in event_dict.items()
|
for k, v in event_dict.items()
|
||||||
if k not in ["id", "thumbnail"]
|
if k not in ["thumbnail"]
|
||||||
and v is not None
|
and v is not None
|
||||||
and isinstance(v, (str, int, float, bool))
|
and isinstance(v, (str, int, float, bool))
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user