Skip to content

Commit a65cd68

Browse files
committed
Refactor: move functionality shared by async and sync to shared package
1 parent 133262c commit a65cd68

File tree

18 files changed

+867
-682
lines changed

18 files changed

+867
-682
lines changed

pydantic_redis/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""Entry point for redisy"""
22

3-
from .config import RedisConfig
4-
from .model import Model
5-
from .store import Store
3+
from pydantic_redis.shared.config import RedisConfig
4+
from pydantic_redis.syncio.model import Model
5+
from pydantic_redis.syncio.store import Store
6+
7+
__all__ = [Store, RedisConfig, Model]
68

79
__version__ = "0.2.0"

pydantic_redis/abstract.py

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)