def getStream(self):
        ds = DownloadStream(
                self._associatedClass.getResourceAsStream(self._resourceName),
                self.getMIMEType(), self.getFilename())
        ds.setBufferSize(self.getBufferSize())
        ds.setCacheTime(self._cacheTime)
        return ds
Convert model to dictionary.
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/class_resource.py/ClassResource.getStream--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/to_dict