MCPcopy Create free account
hub / github.com/apache/fory / _check_non_negative_size

Function _check_non_negative_size

python/pyfory/serializer.py:67–69  ·  view source on GitHub ↗
(size, kind)

Source from the content-addressed store, hash-verified

65
66
67def _check_non_negative_size(size, kind):
68 if size < 0:
69 raise ValueError(f"{kind} size {size} must be non-negative")
70
71
72def _is_local_qualname(module_name, qualname):

Callers 5

readMethod · 0.85
_deserialize_functionMethod · 0.85
readMethod · 0.85
readMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected