Skip to content

Commit

Permalink
Resorted imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
umarbutler committed May 6, 2024
1 parent 72cc82e commit c691947
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
7 changes: 1 addition & 6 deletions src/persist_cache/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
"""An easy-to-use Python library for lightning-fast persistent function caching."""

from .persist_cache import (
cache,
delete,
clear,
flush,
)
from .persist_cache import cache, clear, delete, flush
3 changes: 2 additions & 1 deletion src/persist_cache/pickle.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from functools import wraps

import dill as pickle
import lz4.frame

from functools import wraps

@wraps(pickle.dumps)
def dumps(*args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion src/persist_cache/serialization.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import pickle
from typing import Any, Union

import msgspec
import pickle

Msgpackables = Union[str, int, list, dict, bool, float, None]
"""Types that are directly msgpackable."""
Expand Down

0 comments on commit c691947

Please sign in to comment.