d5705c3a28
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Co-authored-by: Thomas Peetz <thomas.peetz@cimt-ag.de> Reviewed-on: #98
15 lines
353 B
Python
15 lines
353 B
Python
from typing import List
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from src.schema.comics.comic import ComicResponse
|
|
from src.schema.comics.publisher import PublisherResponse
|
|
|
|
|
|
class PublisherDetailsResponse(BaseModel):
|
|
id: str
|
|
name: str
|
|
parent_publisher: PublisherResponse | None
|
|
imprints: List[PublisherResponse]
|
|
comics: List[ComicResponse]
|