def dict_to_pendulum(d: Dict[str, Any],
                     pendulum_class: ClassType) -> DateTime:
    """
    Converts a ``dict`` object back to a ``Pendulum``.
    """
    return pendulum.parse(d['iso'])