diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index c556629a71c68579d30607cfbfa0b04ddf081d74..8bd8eacda1035761bbc7b9aff4134fc45f682da0 100644 --- a/src/linkahead/common/models.py +++ b/src/linkahead/common/models.py @@ -1351,7 +1351,8 @@ class Entity: else: dt_str = xml2str(self.datatype.to_xml(visited_entities=visited_entities.copy())) # Todo: Use for pretty-printing with calls from _repr_ only? - # dt_str = dt_str.replace('<', 'á¸').replace('>', 'á³').replace(' ', 'â €').replace('"', '\'').replace('\n', '') + # dt_str = dt_str.replace('<', 'á¸').replace('>', 'á³').replace(' ', 'â €').replace( + # '"', '\'').replace('\n', '') xml.set("datatype", dt_str) else: xml.set("datatype", str(self.datatype)) @@ -3767,6 +3768,7 @@ class Container(list): """ return _filter_entity_list(self, pid=pid, name=name, entity=entity, conjunction=conjunction) + @staticmethod def _find_dependencies_in_container(container: Container): """Find elements in a container that are a dependency of another element of the same.