Skip to content

Commit

Permalink
[refactor] grouped import statements for distributed cache
Browse files Browse the repository at this point in the history
Signed-off-by: Anurag Wagh <[email protected]>
  • Loading branch information
a9raag committed Aug 16, 2023
1 parent b8c5d20 commit 0a9749a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gptcache/manager/eviction/distributed_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
from typing import List

from gptcache.utils import import_redis
from gptcache.manager.eviction.base import EvictionBase

import_redis()

import redis
from redis_om import get_redis_connection

from gptcache.manager.eviction.base import EvictionBase


class DistributedEviction(EvictionBase, ABC):
"""
Expand Down

0 comments on commit 0a9749a

Please sign in to comment.