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

ENH: add children to considered recordtypes

parent 2d83ba27
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!167Sync Graph
Pipeline #51746 failed
...@@ -443,10 +443,11 @@ class IdentifiableAdapter(metaclass=ABCMeta): ...@@ -443,10 +443,11 @@ class IdentifiableAdapter(metaclass=ABCMeta):
return False return False
if register_identifiable.get_property("is_referenced_by").value is None: if register_identifiable.get_property("is_referenced_by").value is None:
return False return False
appropriate_types = [
el.lower() appropriate_types = []
for el in register_identifiable.get_property("is_referenced_by").value appropriate_types.extend(get_children_of_rt(
] register_identifiable.get_property("is_referenced_by").value))
appropriate_types = [el.lower() for el in appropriate_types]
if "*" in appropriate_types: if "*" in appropriate_types:
return True return True
for parent in parents: for parent in parents:
......
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