From a798131cf653b82d7a44bf6179349698be49a532 Mon Sep 17 00:00:00 2001 From: Ludwig Schneider Date: Wed, 13 Mar 2024 10:15:45 -0500 Subject: [PATCH] right order of decorators --- src/cript/nodes/uuid_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cript/nodes/uuid_base.py b/src/cript/nodes/uuid_base.py index b7795e8a..ca2e5c31 100644 --- a/src/cript/nodes/uuid_base.py +++ b/src/cript/nodes/uuid_base.py @@ -53,8 +53,8 @@ def __init__(self, **kwargs): self._json_attrs = replace(self._json_attrs, uuid=uuid) UUIDBaseNode._uuid_cache[uuid] = self - @beartype @property + @beartype def uuid(self) -> str: if not isinstance(self._json_attrs.uuid, str): # Some JSON decoding automatically converted this to UUID objects, which we don't want