Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/msgspec/msgspec
/ Ex
Class
Ex
tests/unit/test_constraints.py:289–290 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
287
bad = [i
for
i in bad
if
-(2**63) - 1 <= i <= 2**64]
288
289
class
Ex(msgspec.Struct):
290
x: Annotated[int, Meta(**{name: bound})]
291
292
dec = proto.Decoder(Ex)
293
Callers
15
test_bounds
Method · 0.70
test_multiple_of
Method · 0.70
test_combinations
Method · 0.70
test_bounds
Method · 0.70
test_multiple_of
Method · 0.70
test_combinations
Method · 0.70
test_min_length
Method · 0.70
test_max_length
Method · 0.70
test_pattern
Method · 0.70
test_combinations
Method · 0.70
test_min_length
Method · 0.70
test_max_length
Method · 0.70
Calls
no outgoing calls
Tested by
15
test_bounds
Method · 0.56
test_multiple_of
Method · 0.56
test_combinations
Method · 0.56
test_bounds
Method · 0.56
test_multiple_of
Method · 0.56
test_combinations
Method · 0.56
test_min_length
Method · 0.56
test_max_length
Method · 0.56
test_pattern
Method · 0.56
test_combinations
Method · 0.56
test_min_length
Method · 0.56
test_max_length
Method · 0.56