Skip to content

Commit

Permalink
fix: fix database import
Browse files Browse the repository at this point in the history
  • Loading branch information
z0z0r4 committed Dec 29, 2024
1 parent 4b5fa05 commit c6da6fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions database/__init__.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
from database.mongodb import (
aio_mongo_engine,
sync_mongo_engine,
init_mongodb_aioengine,
init_mongodb_syncengine,
)
from database._redis import (
aio_redis_engine,
sync_redis_engine,
init_redis_aioengine,
init_redis_syncengine,
)

__all__ = [
"aio_mongo_engine",
"sync_mongo_engine",
"init_mongodb_aioengine",
"init_mongodb_syncengine",
"aio_redis_engine",
"sync_redis_engine",
"init_redis_aioengine",
"init_redis_syncengine",
]
1 change: 0 additions & 1 deletion database/_redis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from redis import Redis
from redis.asyncio import Redis as AioRedis

from config import Config

Expand Down

0 comments on commit c6da6fe

Please sign in to comment.