def METHOD_NAME(
    m: type[ModelType],
) -> Callable[[Callable[[ModelType], Response]], Callable[[ModelType], Response]]:
    if not is_dataclass(m):
        raise Exception("use_model requires a dataclass")
    return use_args(class_schema(m, base_schema=DurationSchema)())