diff --git a/epyqlib/pm/parametermodel.py b/epyqlib/pm/parametermodel.py index e1ba2a92..ff4a03c6 100644 --- a/epyqlib/pm/parametermodel.py +++ b/epyqlib/pm/parametermodel.py @@ -326,6 +326,13 @@ class Group(epyqlib.treenode.TreeNode): ), ), ) + comment = attr.ib( + default=None, + converter=epyqlib.attrsmodel.to_str_or_none, + metadata=graham.create_metadata( + field=marshmallow.fields.String(allow_none=True), + ), + ) uuid = epyqlib.attrsmodel.attr_uuid() def __attrs_post_init__(self): diff --git a/epyqlib/tests/test_attrsmodel.py b/epyqlib/tests/test_attrsmodel.py index cb264ff0..b0732855 100644 --- a/epyqlib/tests/test_attrsmodel.py +++ b/epyqlib/tests/test_attrsmodel.py @@ -104,7 +104,6 @@ def merge(name, *types): ), ((Parameter, "value"),), merge("uuid", *types.types.values()), - ((Group, "comment"),), )