37 lines
927 B
Python
37 lines
927 B
Python
# Import schemas in order to avoid circular dependencies
|
|
# First, import schemas without relationships
|
|
from app.schemas.author import Author, AuthorCreate, AuthorInDB, AuthorUpdate, AuthorWithManga
|
|
from app.schemas.genre import Genre, GenreCreate, GenreInDB, GenreUpdate
|
|
|
|
# Then, import schemas with relationships
|
|
from app.schemas.manga import Manga, MangaCreate, MangaInDB, MangaUpdate, MangaWithRelations
|
|
from app.schemas.publisher import (
|
|
Publisher,
|
|
PublisherCreate,
|
|
PublisherInDB,
|
|
PublisherUpdate,
|
|
PublisherWithManga,
|
|
)
|
|
|
|
__all__ = [
|
|
"Author",
|
|
"AuthorCreate",
|
|
"AuthorInDB",
|
|
"AuthorUpdate",
|
|
"AuthorWithManga",
|
|
"Genre",
|
|
"GenreCreate",
|
|
"GenreInDB",
|
|
"GenreUpdate",
|
|
"Manga",
|
|
"MangaCreate",
|
|
"MangaInDB",
|
|
"MangaUpdate",
|
|
"MangaWithRelations",
|
|
"Publisher",
|
|
"PublisherCreate",
|
|
"PublisherInDB",
|
|
"PublisherUpdate",
|
|
"PublisherWithManga",
|
|
]
|