MCPcopy
hub / github.com/django/django / _from_pickle_wkb

Method _from_pickle_wkb

django/contrib/gis/geos/geometry.py:98–99  ·  view source on GitHub ↗
(self, wkb)

Source from the content-addressed store, hash-verified

96 return bytes(self.wkb)
97
98 def _from_pickle_wkb(self, wkb):
99 return wkb_r().read(memoryview(wkb))
100
101 def __getstate__(self):
102 # The pickled state is simply a tuple of the WKB (in string form)

Callers 1

__setstate__Method · 0.95

Calls 2

wkb_rFunction · 0.90
readMethod · 0.45

Tested by

no test coverage detected