code: def pendulum_to_datetime(x: DateTime) -> datetime.datetime:
      
      return datetime.datetime(
          x.year, x.month, x.day,
          x.hour, x.minute, x.second, x.microsecond,
          tzinfo=x.tzinfo
      )
docs: Used, for example, where a database backend insists on datetime.datetime.
  
      Compare code in :meth:`pendulum.datetime.DateTime.int_timestamp`.