Skip to content
YosoiDocs

PositiveU32

yosoi.outcomes.PositiveU32

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

Strict positive u32 integer. Zero and numeric coercions are rejected; units belong to the consuming field.

Source: python/yosoi/outcomes.py:33