# src/chitai/services/author.py

# Third-party libraries
from advanced_alchemy.service import SQLAlchemyAsyncRepositoryService
from advanced_alchemy.repository import SQLAlchemyAsyncRepository

# Local Imports
from chitai.database.models import Author


class AuthorService(SQLAlchemyAsyncRepositoryService[Author]):
    """Author service for managing author operations."""

    class Repo(SQLAlchemyAsyncRepository[Author]):
        """Author repository."""

        model_type = Author

    repository_type = Repo
