MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / __from_json__

Method __from_json__

projects/Python/proto/enums.py:53–56  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

51
52 @staticmethod
53 def __from_json__(value):
54 if value is None:
55 return None
56 return EnumByte(value)
57
58
59# Fast Binary Encoding EnumByte field model

Callers

nothing calls this directly

Calls 1

EnumByteClass · 0.70

Tested by

no test coverage detected