Pydantic · Type Alias
StrictInt
StrictInt makes Pydantic require an integer instead of converting compatible values. It rejects bool and accepts other integer subtypes.
Last updated
Syntax
StrictIntIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
StrictBoolStrictBytesStrictFloatStrictStrFiniteFloatconint()confloat()StringConstraints