docs: def dict_to_pendulumdate(d: Dict[str, Any],
                           pendulumdate_class: ClassType) -> Date:
      """
      Converts a ``dict`` object back to a ``pendulum.Date``.
      """
      # noinspection PyTypeChecker
      return pendulum.parse(d['iso']).date()