from typing import Dict
from typing import Tuple


def format_dimensions(dimensions: Dict[str, int]) -> Tuple[int, int]:
    """Slightly simplify 'dimensions' response attribute into ``(width, height)`` tuple"""
    return dimensions.get("width", 0), dimensions.get("height", 0)