def METHOD_NAME(
    task_progress: Optional[TaskProgress],
    message: Optional[ProgressMessage] = None,
    progress: Optional[ProgressPercent] = None,
) -> None:
    logger.debug("%s [%s]", message or "", progress or "n/a")
    if task_progress:
        task_progress.update(message=message, percent=progress)