async def METHOD_NAME(
    self,
    authors_repo: AuthorRepository,
    data: AuthorCreate,
) -> Author:
    """Create a new author."""
    obj = await authors_repo.add(
        AuthorModel(**data.model_dump(exclude_unset=True, exclude_none=True)),
    )
    await authors_repo.session.commit()
    return Author.model_validate(obj)