Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_r
Function · 0.90
read
Method · 0.45
Tested by
no test coverage detected