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
No related branches found
No related tags found
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):
for par in entity.get_parents():
if par.name.lower() == valid_e.name.lower():
# ToDo: Fix https://gitlab.indiscale.com/caosdb/src/caosdb-advanced-user-tools/-/issues/140
# and remove pylint disable, or close and leave
par._wrap(valid_e) # pylint: disable=protected-access
par.id = valid_e.id
def collect_entities(self):
""" 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