Skip to content

Commit 2d24e02

Browse files
committed
fix
1 parent 96a37d7 commit 2d24e02

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
@@ -1,6 +1,6 @@
11
# ruff: noqa: D100, D101, D102, D103, D107, S603, PLW1510, I001
22

3-
from typing import Any
3+
from typing import Any, Self
44
from enum import StrEnum
55
import copy
66
import os
@@ -12,7 +12,7 @@
1212
from catalyst_python.admin import AdminKey
1313
from catalyst_python.catalyst_id import RoleID
1414
from catalyst_python.uuid import uuid_v7
15-
from catalyst_python.ed25519 import Ed25519Keys
15+
from catalyst_python.ed25519 import Ed25519Keyse
1616
from catalyst_python.rbac_chain import RBACChain
1717

1818

@@ -59,7 +59,7 @@ def new_version(self) -> None:
5959

6060

6161
class SignedDocument(SignedDocumentBase):
62-
def copy(self) -> SignedDocument:
62+
def copy(self) -> Self:
6363
return SignedDocument(
6464
metadata=copy.deepcopy(self.metadata),
6565
content=copy.deepcopy(self.content),

0 commit comments

Comments
 (0)