Pydantic · Type Alias
StrictBool
StrictBool accepts only real boolean values. It prevents the coercion that a regular bool field allows for inputs such as 0, 1, or selected strings.
Last updated
Syntax
StrictBoolIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
boolStrict()StrictBytesStrictFloatStrictIntStrictStr