From 13d4191166b06ceb27b71af52575a7a47d450987 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 12 Jun 2023 09:19:07 +0300 Subject: [PATCH] insndb/core: fix operands kwargs --- 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 1388fa21..aef9530d 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -1116,7 +1116,7 @@ class Record(Dataclass): def __getitem__(self, key): (cls, kwargs) = self.mdwn.operands.__getitem__(key) - return cls(record=self, **kwargs) + return cls(record=self, **dict(kwargs)) @cached_property def Rc(self): -- 2.30.2