Call the flush method on the Band's parent raster and force a refresh of the statistics attribute when requested the next time.
(self)
| 24 | self._ptr = capi.get_ds_raster_band(source._ptr, index) |
| 25 | |
| 26 | def _flush(self): |
| 27 | """ |
| 28 | Call the flush method on the Band's parent raster and force a refresh |
| 29 | of the statistics attribute when requested the next time. |
| 30 | """ |
| 31 | self.source._flush() |
| 32 | self._stats_refresh = True |
| 33 | |
| 34 | @property |
| 35 | def description(self): |
no outgoing calls