Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
67
def
_check_non_negative_size(size, kind):
68
if
size < 0:
69
raise
ValueError(f
"{kind} size {size} must be non-negative"
)
70
71
72
def
_is_local_qualname(module_name, qualname):
Callers
5
read
Method · 0.85
_deserialize_local_class
Method · 0.85
_deserialize_function
Method · 0.85
read
Method · 0.85
read
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected