code: def getDatastreamProfile(self, dsid, date=None):
          
          # NOTE: used by DatastreamObject
          if self._create:
              return None
  
          r = self.api.getDatastream(self.pid, dsid, asOfDateTime=date)
          return parse_xml_object(DatastreamProfile, r.content, r.url)
docs: Get information about a particular datastream belonging to this object.
  
          :param dsid: datastream id
          :rtype: :class:`DatastreamProfile`