From 56535e32c9ae6609b8064bd6695a25b05cfe6ae9 Mon Sep 17 00:00:00 2001 From: Samuel M Smith Date: Sun, 11 Aug 2024 14:29:43 -0600 Subject: [PATCH] more refactor Labeler --- src/keri/core/coring.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/keri/core/coring.py b/src/keri/core/coring.py index 691ae0a9b..53a7ba2d4 100644 --- a/src/keri/core/coring.py +++ b/src/keri/core/coring.py @@ -3046,10 +3046,11 @@ def __init__(self, label='', raw=None, code=None, soft=None, **kwa): super(Labeler, self).__init__(raw=raw, code=code, soft=soft, **kwa) - if self.code not in LabelDex: raise InvalidCodeError(f"Invalid code={self.code} for Labeler.") + # need way to extract label from raw and code + @property def label(self): """Returns: