Skip to content
Snippets Groups Projects
Commit d43d85db authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: clarified dfeinition of reference mappings

parent 21da31c2
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51488 passed with warnings
......@@ -158,12 +158,12 @@ class SyncGraph():
# initialize reference mappings (see _create_reference_mapping)
(
self.forward_references,
self.backward_references,
self.forward_references_id_props,
self.backward_references_id_props,
self.forward_references_backref,
self.backward_references_backref,
self.forward_references, # full set of reference properties of the entity
self.backward_references, # full set of reference properties (of other entities) that reference the entity
self.forward_references_id_props, # subset of the reference properties that are part of identifiables
self.backward_references_id_props, # subset of the backward references that are part of identifiables
self.forward_references_backref, # subset of the reference properties that are part of identifiables as "referenced_by" properties
self.backward_references_backref, # same for backward references
) = self._create_reference_mapping(self.nodes)
# remove entities with path or ID from unchecked list
......@@ -247,6 +247,8 @@ class SyncGraph():
"""
If a record for which it could not yet be verified whether it exists in LA or not is part
of the identifying properties, this returns True, otherwise False
Last review by Alexander Schlemmer on 2024-05-27.
"""
return any([id(ent) not in self._missing and id(ent) not in self._existing
......
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