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

Method __from_json__

projects/Python/proto/protoex.py:1314–1320  ·  view source on GitHub ↗
(fields)

Source from the content-addressed store, hash-verified

1312
1313 @staticmethod
1314 def __from_json__(fields):
1315 if fields is None:
1316 return None
1317 return Balance(
1318 proto.Balance.__from_json__(fields),
1319 None if "locked" not in fields else fields["locked"],
1320 )
1321
1322 # Get the FBE type
1323 @property

Callers

nothing calls this directly

Calls 2

BalanceClass · 0.70
__from_json__Method · 0.45

Tested by

no test coverage detected