Import Export cycle of probs

This commit is contained in:
Tim Lorsbach
2026-11-10 19:57:57 +01:00
parent a6b901aa47
commit 8a1ed2fc6d
3 changed files with 49 additions and 0 deletions
+2
View File
@@ -214,6 +214,7 @@ class EdgeExportSchema(RefEdgeExportSchema):
start_nodes: List[RefNodeExportSchema]
end_nodes: List[RefNodeExportSchema]
scenarios: List[RefScenarioExportSchema]
kv: Optional[dict]
class PathwayExportSchema(RefPathwayExportSchema):
@@ -623,6 +624,7 @@ class PackageImporter:
new_e.description = e.description
new_e.aliases = e.aliases
new_e.edge_label = self._cache[e.edge_label.uuid]
new_e.kv = e.kv
new_e.save()
for sn in e.start_nodes: