Skip to content

Validator result

Validator result model for file validation.

This module contains the ValidatorResult class that represents the result of a validation operation.

Authors

Hubert Michael Sanyoto (hubert.m.sanyoto@gdplabs.id)

ValidatorResult

Bases: BaseModel

Represents the result of a validation operation.

This class encapsulates the result of a validation operation, including whether the validation passed or failed and any associated message.

Attributes:

Name Type Description
is_valid bool

Whether the validation passed or failed.

message str

The message associated with the validation result.