def METHOD_NAME(
    swarm_stack_name: str,
    node_uuid: UUID,
    run_id: RunID,
    project_id: ProjectID,
    user_id: UserID,
) -> Callable[[str, str], dict[str, Any]]:
    def _callable(source: str, target: str) -> dict[str, Any]:
        return {
            "Source": source,
            "Target": target,
            "Type": "volume",
            "VolumeOptions": {
                "DriverConfig": None,
                "Labels": {
                    "source": source,
                    "run_id": f"{run_id}",
                    "study_id": f"{project_id}",
                    "user_id": f"{user_id}",
                    "swarm_stack_name": swarm_stack_name,
                    "node_uuid": f"{node_uuid}",
                },
            },
        }
    return _callable