code: def pendulum_date_to_datetime_date(x: Date) -> datetime.date:
      
      return datetime.date(year=x.year, month=x.month, day=x.day)
docs: Takes a :class:`pendulum.Date` and returns a :class:`datetime.date`.
      Used, for example, where a database backend insists on
      :class:`datetime.date`.