From 97b3ec487f49c942772aa442c1e2fd2250c380f4 Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <alexander@mail-schlemmer.de> Date: Thu, 17 Mar 2022 12:36:04 +0100 Subject: [PATCH] DOC: added note for missing type checks --- src/caosdb/utils/plantuml.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/caosdb/utils/plantuml.py b/src/caosdb/utils/plantuml.py index 0c7936a9..c226a2fe 100644 --- a/src/caosdb/utils/plantuml.py +++ b/src/caosdb/utils/plantuml.py @@ -111,6 +111,8 @@ def recordtypes_to_plantuml_string(iterable, - Inheritance of Properties is not rendered nicely at the moment. """ + # TODO: This function needs a review of python type hints. + classes = [el for el in iterable if isinstance(el, db.RecordType)] dependencies = {} -- GitLab