Skip to content
YosoiDocs

PositiveU32

yosoi.policy.PositiveU32

PositiveU32 = Annotated[int, Field(strict=True, gt=0, le=(1 << 32) - 1)]

Strict positive u32 integer; zero and numeric coercions are rejected.

Source: python/yosoi/policy.py:45