code: def getObjectProfile(self, pid, asOfDateTime=None):
          
          # /objects/{pid} ? [format] [asOfDateTime]
          http_args = {}
          if asOfDateTime:
              http_args['asOfDateTime'] = datetime_to_fedoratime(asOfDateTime)
          http_args.update(self.format_xml)
          url = 'objects/%(pid)s' % {'pid': pid}
          return self.get(url, params=http_args)
docs: Get top-level information aboug a single Fedora object; optionally,
          retrieve information as of a particular date-time.
  
          :param pid: object pid
          :param asOfDateTime: optional datetime; ``must`` be a non-naive datetime
              so it can be converted to a date-time format Fedora can understand
          :rtype: :class:`requests.models.Response`