Skip to content

Commit

Permalink
more refactor Labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
SmithSamuelM committed Aug 11, 2024
1 parent 90c30a7 commit 56535e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/keri/core/coring.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 56535e3

Please sign in to comment.