From 47a81833846f2b687a72016e3e97bd75d6056c72 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Fri, 10 Jan 2025 14:57:46 +0100 Subject: [PATCH] STY: Only a few style fixes. --- src/linkahead/common/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/linkahead/common/models.py b/src/linkahead/common/models.py index c556629..8bd8eac 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. -- GitLab