Skip to content

Commit 313b456

Browse files
committed
fix: lock missing optional deps
Signed-off-by: Daniel Bluhm <[email protected]>
1 parent c02dc43 commit 313b456

File tree

2 files changed

+75
-4
lines changed

2 files changed

+75
-4
lines changed

didcomm_messaging/legacy/crypto.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""DIDComm v1 packing and unpacking."""
22

33
from collections import OrderedDict
4-
from functools import lru_cache
54
from typing import Iterable, Optional, Sequence, Dict, Union, Tuple, cast
65
import json
76
import struct
@@ -39,7 +38,6 @@ def bytes_to_b64(val: bytes) -> str:
3938
return b64url.encode(val)
4039

4140

42-
@lru_cache(maxsize=16)
4341
def b58_to_bytes(val: str) -> bytes:
4442
"""Convert a base 58 string to bytes.
4543
@@ -49,7 +47,6 @@ def b58_to_bytes(val: str) -> bytes:
4947
return base58.b58decode(val)
5048

5149

52-
@lru_cache(maxsize=16)
5350
def bytes_to_b58(val: bytes) -> str:
5451
"""Convert a byte string to base 58.
5552

pdm.lock

Lines changed: 75 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)