MCPcopy 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_boundsMethod · 0.70
test_multiple_ofMethod · 0.70
test_combinationsMethod · 0.70
test_boundsMethod · 0.70
test_multiple_ofMethod · 0.70
test_combinationsMethod · 0.70
test_min_lengthMethod · 0.70
test_max_lengthMethod · 0.70
test_patternMethod · 0.70
test_combinationsMethod · 0.70
test_min_lengthMethod · 0.70
test_max_lengthMethod · 0.70

Calls

no outgoing calls

Tested by 15

test_boundsMethod · 0.56
test_multiple_ofMethod · 0.56
test_combinationsMethod · 0.56
test_boundsMethod · 0.56
test_multiple_ofMethod · 0.56
test_combinationsMethod · 0.56
test_min_lengthMethod · 0.56
test_max_lengthMethod · 0.56
test_patternMethod · 0.56
test_combinationsMethod · 0.56
test_min_lengthMethod · 0.56
test_max_lengthMethod · 0.56