MCPcopy
hub / github.com/django/django / _flush

Method _flush

django/contrib/gis/gdal/raster/band.py:26–32  ·  view source on GitHub ↗

Call the flush method on the Band's parent raster and force a refresh of the statistics attribute when requested the next time.

(self)

Source from the content-addressed store, hash-verified

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):

Callers 3

nodata_valueMethod · 0.95
dataMethod · 0.95
writeMethod · 0.45

Calls

no outgoing calls

Tested by 1

writeMethod · 0.36