8000 SP-22886 - option FaceDetection by inspector-code · Pull Request #207 · regulaforensics/DocumentReader-web-python-client · GitHub
[go: up one dir, main page]

Skip to content
< 8000 /div>

SP-22886 - option FaceDetection #207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions regula/documentreader/webclient/gen/models/face_detection_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import json

from pydantic import BaseModel, ConfigDict, Field
from typing import Any, ClassVar, Dict, List
from typing import Any, ClassVar, Dict, List, Optional
from regula.documentreader.webclient.gen.models.face_detection import FaceDetection
from typing import Optional, Set
from typing_extensions import Self
Expand All @@ -19,7 +19,7 @@ class FaceDetectionItem(BaseModel):
"""
FaceDetectionItem
""" # noqa: E501
face_detection: FaceDetection = Field(alias="FaceDetection")
face_detection: Optional[FaceDetection] = Field(default=None, alias="FaceDetection")
__properties: ClassVar[List[str]] = ["FaceDetection"]

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import json

from pydantic import ConfigDict, Field
from typing import Any, ClassVar, Dict, List
from typing import Any, ClassVar, Dict, List, Optional
from regula.documentreader.webclient.gen.models.face_detection import FaceDetection
from regula.documentreader.webclient.gen.models.result import Result
from regula.documentreader.webclient.gen.models.result_item import ResultItem
Expand All @@ -21,7 +21,7 @@ class FaceDetectionResult(ResultItem):
"""
FaceDetectionResult
""" # noqa: E501
face_detection: FaceDetection = Field(alias="FaceDetection")
face_detection: Optional[FaceDetection] = Field(default=None, alias="FaceDetection")
__properties: ClassVar[List[str]] = ["buf_length", "light", "list_idx", "page_idx", "result_type", "FaceDetection"]

model_config = ConfigDict(
Expand Down
0