添加数据库模块
This commit is contained in:
17
api/database/__init__.py
Normal file
17
api/database/__init__.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""
|
||||
数据库模块
|
||||
"""
|
||||
from .database import get_db, get_async_db, init_db
|
||||
from .models import User, Conversation, Segment, Chapter, Book
|
||||
|
||||
__all__ = [
|
||||
"get_db",
|
||||
"get_async_db",
|
||||
"init_db",
|
||||
"User",
|
||||
"Conversation",
|
||||
"Segment",
|
||||
"Chapter",
|
||||
"Book",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user