youtube-summarizer/venv311/lib/python3.11/site-packages/fakeredis/stack/__init__.py

24 lines
612 B
Python

try:
from jsonpath_ng.ext import parse # noqa: F401
from redis.commands.json.path import Path # noqa: F401
from ._json_mixin import JSONCommandsMixin, JSONObject # noqa: F401
except ImportError as e:
if e.name == "fakeredis.stack._json_mixin":
raise e
class JSONCommandsMixin: # type: ignore # noqa: E303
pass
try:
import pybloom_live # noqa: F401
from ._bf_mixin import BFCommandsMixin # noqa: F401
except ImportError as e:
if e.name == "fakeredis.stack._bf_mixin":
raise e
class BFCommandsMixin: # type: ignore # noqa: E303
pass