@cached_property
    def raster_field(self):
        for field in self.model._meta.fields:
            if isinstance(field, models.FileField):
                return field
        return False
Read a block of bytes from a file
dataset/ETHPy150Open bkg/django-spillway/spillway/query.py/RasterQuerySet.raster_field--crossover with--dataset/ETHPy150Open dask/dask/dask/bytes/utils.py/read_block