Skip to content

Commit

Permalink
fix: import Self from typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed Oct 22, 2024
1 parent c290f8f commit 6e1340c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion silverback/cluster/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
import uuid
from datetime import datetime
from enum import IntEnum
from typing import Annotated, Any, Self
from typing import Annotated, Any

from ape.types import AddressType, HexBytes
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.primitives.hmac import HMAC, hashes
from eth_utils import to_bytes, to_int
from pydantic import BaseModel, Field, computed_field, field_validator
from typing_extensions import Self


def normalize_bytes(val: bytes, length: int = 16) -> bytes:
Expand Down

0 comments on commit 6e1340c

Please sign in to comment.