|
|
|
|
@ -125,7 +125,7 @@ async def get_or_save_node(*, db_session: DbSession, node_data: dict, type: str
|
|
|
|
|
original_node_id=convert_id_to_none_if_negative(node_data["originalNodeId"]),
|
|
|
|
|
structure_name=node_data["structureName"],
|
|
|
|
|
schematic_name=node_data["schematicName"],
|
|
|
|
|
schematic_id=convert_id_to_none_if_negative(node_data["schematicId"]),
|
|
|
|
|
schematic_id=None,
|
|
|
|
|
original_schematic_id=convert_id_to_none_if_negative(
|
|
|
|
|
node_data["originalSchematicId"]
|
|
|
|
|
),
|
|
|
|
|
@ -144,7 +144,7 @@ async def get_or_save_node(*, db_session: DbSession, node_data: dict, type: str
|
|
|
|
|
node_id=nodeId,
|
|
|
|
|
original_node_id=convert_id_to_none_if_negative(node_data["originalNodeId"]),
|
|
|
|
|
schematic_name=node_data["schematicName"],
|
|
|
|
|
schematic_id=convert_id_to_none_if_negative(node_data["parentSchematicId"]),
|
|
|
|
|
schematic_id=None,
|
|
|
|
|
original_schematic_id=convert_id_to_none_if_negative(
|
|
|
|
|
node_data["originalParentSchematicId"]
|
|
|
|
|
),
|
|
|
|
|
|