def _make_feature(self, feat_id):
        if self._random_read:
            # If the Layer supports random reading, return.
            try:
                return Feature(get_feature(self._ptr, feat_id), self._ldefn)
            except OGRException:
                pass
        else:
            # Random access isn't supported, have to increment through
            # each feature until the given feature ID is encountered.
            for feat in self:
                if feat.fid == feat_id: return feat
        # Should have returned a Feature, raise an OGRIndexError.    
        raise OGRIndexError('Invalid feature id: %s.' % feat_id)

    #### Layer properties ####
Set a prefetch count for the channel (or all channels on the same
dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/layer.py/Layer._make_feature--crossover with--dataset/ETHPy150Open gmr/rabbitpy/rabbitpy/channel.py/Channel.prefetch_count