From 4caf7810ccad9b23dd2e85459a20dab7459c99cd Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sat, 10 Jun 2023 21:18:53 +0300 Subject: [PATCH] insndb/core: switch PPCRecord.Flags to Tuple --- src/openpower/insndb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 367008e1..defe898a 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -368,7 +368,7 @@ class PPCRecord(Dataclass): "sgl pipe", ) - class Flags(tuple, metaclass=FlagsMeta): + class Flags(Tuple, datatype=str, metaclass=FlagsMeta): def __new__(cls, flags=frozenset()): flags = frozenset(flags) diff = (flags - frozenset(cls)) -- 2.30.2