render passed validation areas
This commit is contained in:
@@ -64,8 +64,11 @@ def validate_date_and_place(text_content: str) -> Union[Tuple[int, int], Literal
|
||||
|
||||
def validate(text_content: str) -> object:
|
||||
return {
|
||||
"court": validate_court(text_content),
|
||||
"date_and_place": validate_date_and_place(text_content),
|
||||
"checks": {
|
||||
"court": validate_court(text_content),
|
||||
"date_and_place": validate_date_and_place(text_content),
|
||||
},
|
||||
"parsed_content": text_content,
|
||||
}
|
||||
|
||||
# debug
|
||||
|
||||
Reference in New Issue
Block a user