Skip to content
Snippets Groups Projects
Commit a30af390 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

ENH: keep all property attributes

parent f08bd180
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51824 failed
......@@ -151,7 +151,9 @@ class SyncNode(db.Entity):
for p in self.properties:
entval: Any = ent.get_property(p)
if entval is None:
ent.add_property(id=p.id, name=p.name, value=p.value)
ent.add_property(id=p.id, name=p.name, value=p.value, description=p.description,
datatype=p.datatype, unit=p.unit, importance=p.importance,
inheritance=p.inheritance)
else:
entval = entval.value
unequal = False
......
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