Skip to content
YosoiDocs

PositiveU64

yosoi.policy.PositiveU64

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

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

Source: python/yosoi/policy.py:47