This commit is contained in:
2025-12-25 16:32:17 +03:00
parent 58827ac124
commit dac7d95be4
2 changed files with 81 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
"""Модуль для работы с базой данных"""
from database.connection import get_session, async_session_maker, engine
from database.models import User, Book, Author, Genre, Favorite
from database.models import User, Book, Author, Genre, Favorite, UserPreferences
__all__ = [
'get_session',
@@ -10,6 +10,7 @@ __all__ = [
'Book',
'Author',
'Genre',
'Favorite'
'Favorite',
'UserPreferences'
]