Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/mypy
/ serialize
Method
serialize
mypy/types.py:1239–1240 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1237
return
visitor.visit_unpack_type(self)
1238
1239
def
serialize(self) -> JsonDict:
1240
return
{
".class"
:
"UnpackType"
,
"type"
: self.type.serialize()}
1241
1242
def
write(self, data: WriteBuffer) -> None:
1243
write_tag(data, UNPACK_TYPE)
Callers
nothing calls this directly
Calls
1
serialize
Method · 0.45
Tested by
no test coverage detected