[Chore] Leftovers (#426)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#426
This commit is contained in:
2026-07-16 21:33:12 +12:00
parent 72a63b4876
commit 3566571b42
6 changed files with 109 additions and 46 deletions

View File

@ -1008,8 +1008,6 @@ class PackageManager(object):
data: Dict[str, Any],
owner: User,
preserve_uuids=False,
add_import_timestamp=True,
trust_reviewed=False,
) -> Package:
importer = PackageImporter(data, preserve_uuids)
imported_package = importer.do_import()
@ -1830,6 +1828,7 @@ class SPathway(object):
if edge.rule:
e["rule"] = edge.rule.simple_json()
if edge.probability:
e["probability"] = edge.probability