Files
pyproject2/database/__init__.py
2025-12-25 15:25:46 +03:00

16 lines
345 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Модуль для работы с базой данных"""
from database.connection import get_session, async_session_maker, engine
from database.models import User, Book, Author, Genre, Favorite
__all__ = [
'get_session',
'async_session_maker',
'engine',
'User',
'Book',
'Author',
'Genre',
'Favorite'
]