Skip to content
Snippets Groups Projects
Commit 6c03d8b3 authored by Hock, Martin's avatar Hock, Martin
Browse files

Fix KPIEncoder caught in name to label property renaming.

parent 1fdf4dd8
No related branches found
No related tags found
1 merge request!3Merge to main to create "WS2223" Version
Pipeline #929000 failed
......@@ -266,5 +266,5 @@ class KPIEncoder(json.JSONEncoder):
if isinstance(o, uuid.UUID):
return "kpi-" + str(o)
if isinstance(o, (AggregationLayer)):
return "kpi-" + o.properties.label
return "kpi-" + o.name
return super().default(o)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment