Pydantic · Type Alias
NonNegativeInt
NonNegativeInt is a Pydantic type for integers that are zero or greater. It rejects negative values during model validation.
Last updated
Syntax
NonNegativeIntIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
PositiveIntNonPositiveIntNegativeIntStrictIntAnnotatedannotated_types.Ge