Skip to content

Commit

Permalink
Merge pull request #24 from ZennoLab/CML-1905
Browse files Browse the repository at this point in the history
[FIX] optional fields
  • Loading branch information
azeriker authored Nov 7, 2024
2 parents c475da0 + 459eead commit 05de1a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions capmonstercloud_client/requests/HcaptchaComplexImageTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class HcaptchaComplexImageTaskRequest(ComplexImageTaskRequestBase):

captchaClass: str = Field(default='hcaptcha')
metadata : Dict[str, str]
exampleImageUrls: Optional[List[str]]
exampleImagesBase64: Optional[List[str]]
exampleImageUrls: Optional[List[str]] = None
exampleImagesBase64: Optional[List[str]] = None

@validator('metadata')
def validate_metadata(cls, value):
Expand Down
2 changes: 1 addition & 1 deletion capmonstercloud_client/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1

0 comments on commit 05de1a5

Please sign in to comment.