Skip to content
Snippets Groups Projects
Verified Commit aa56cc0c authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: simply set the parent ID when syncing the datamodel.

parent 8ce04d88
Branches
Tags
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!126Fix pylint errors
Pipeline #59735 passed
...@@ -251,9 +251,7 @@ class DataModel(dict): ...@@ -251,9 +251,7 @@ class DataModel(dict):
for par in entity.get_parents(): for par in entity.get_parents():
if par.name.lower() == valid_e.name.lower(): if par.name.lower() == valid_e.name.lower():
# ToDo: Fix https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools/-/issues/140 par.id = valid_e.id
# and remove pylint disable, or close and leave
par._wrap(valid_e) # pylint: disable=protected-access
def collect_entities(self): def collect_entities(self):
""" Collects all entities: explicitly defined RecordTypes and """ Collects all entities: explicitly defined RecordTypes and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment