Skip to content

Commit

Permalink
chore: Add missing dataclasses.field initialization for 'valid' attri…
Browse files Browse the repository at this point in the history
…bute in ValidationResults class
  • Loading branch information
Kamil Rybacki committed Jul 16, 2024
1 parent 3fc6108 commit 9105b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phaistos/typings.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class ValidationResults:
errors (list[FieldValidationErrorInfo]): A list of field validation errors.
data (dict): The data that was validated.
"""
valid: bool
valid: bool = dataclasses.field(init=False)
schema: dict
errors: list[FieldValidationErrorInfo]
data: dict

0 comments on commit 9105b15

Please sign in to comment.