Skip to content

Commit 0a0e673

Browse files
author
Andrei
committed
Update serializer.py
1 parent 47dae23 commit 0a0e673

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/python3_capsolver/core/serializer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ class ReCaptchaV3Ser(WebsiteDataOptionsSer):
8080
)
8181

8282

83-
class HCaptchaClassificationOptionsSer(BaseModel):
83+
class HCaptchaClassificationOptionsSer(TaskSer):
8484
queries: List[str] = Field(..., description="Base64-encoded images, do not include 'data:image/***;base64,'")
8585
question: str = Field(
8686
..., description="Question ID. Support English and Chinese, other languages please convert yourself"
8787
)
8888

8989

90-
class FunCaptchaClassificationOptionsSer(BaseModel):
90+
class FunCaptchaClassificationOptionsSer(TaskSer):
9191
images: List[str] = Field(..., description="Base64-encoded images, do not include 'data:image/***;base64,'")
9292
question: str = Field(
9393
...,

0 commit comments

Comments
 (0)