WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit 6745f0a486 - Show all commits

View file

@ -72,6 +72,10 @@ class ImportAuroraView(ui.View):
if "changes" not in case or not case["changes"]: if "changes" not in case or not case["changes"]:
case["changes"] = [] case["changes"] = []
else:
case["changes"] = json.loads(case["changes"])
if isinstance(case["changes"], str):
case["changes"] = json.loads(case["changes"])
if "metadata" not in case: if "metadata" not in case:
metadata = {} metadata = {}