Tags in event_data can be lists; deal with that

Fix #130
This commit is contained in:
Klaas van Schelven
2025-06-26 09:06:21 +02:00
parent 6c8624f683
commit 70e0f147b5

View File

@@ -87,6 +87,9 @@ def deduce_tags(event_data):
# we start with the explicitly provided tags
tags = event_data.get('tags', {})
if isinstance(tags, list):
tags = {k: v for k, v in tags}
for tag_key, lookup_path in EVENT_DATA_CONVERSION_TABLE.items():
value = get_path(event_data, *lookup_path)