def get_record(self, recid, read_cache=True):
        """
        Returns the record with given recid
        """
        if recid in self.cached_records or not read_cache:
            return self.cached_records[recid]
        else:
            return self.search(p="recid:" + str(recid))