Skip to content
YosoiDocs

PositiveInt

yosoi.policy.PositiveInt

PositiveInt = Annotated[int, Field(strict=True, gt=0)]

Strict positive Python integer. Native policy validation applies operation-specific width and plan constraints.

Source: python/yosoi/policy.py:49