diff --git a/lnschema_core/models.py b/lnschema_core/models.py index c1d0abc9..dbf6244d 100644 --- a/lnschema_core/models.py +++ b/lnschema_core/models.py @@ -527,6 +527,13 @@ def __new__(cls, name, bases, attrs, **kwargs): delattr(new_class, name) return new_class + # def __dir__(cls): + # result = type.__dir__(cls) + # for attr in dir(cls): + # if not attr.startswith("__"): + # result.append(attr) + # return result + def from_values( cls, values: ListLike,