Strict
A field metadata class to indicate that a field should be validated in strict mode. Use this class as an annotation via Annotated, as seen below.
Attributes
| Attribute | Type | Description |
|---|---|---|
| strict | bool = True | Whether to validate the field in strict mode. |
Constructor
Signature
def Strict(
strict: bool = True
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| strict | bool = True | Whether to validate the field in strict mode. |