Skip to content

Commit bfd90e2

Browse files
committed
fix
1 parent 4f3d905 commit bfd90e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

catalyst-python/src/catalyst_python/signed_doc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ def new_version(self) -> None:
5050
time.sleep(1)
5151
self.metadata["ver"] = uuid_v7()
5252

53-
def copy(self) -> SignedDocumentBase:
53+
54+
class SignedDocument(SignedDocumentBase):
55+
def copy(self) -> SignedDocument:
5456
return SignedDocument(
5557
metadata=copy.deepcopy(self.metadata),
5658
content=copy.deepcopy(self.content),
5759
)
5860

59-
60-
class SignedDocument(SignedDocumentBase):
6161
# Build and sign document, returns hex str of document bytes
6262
def build_and_sign(
6363
self,

0 commit comments

Comments
 (0)