Skip to content

Conversation

@kalelmartinho
Copy link
Contributor

The HcaptchaComplexImageTaskRequest class had three validator methods with identical names (validate_urls_array), causing Pydantic to override the earlier validators with the later ones. Additionally, all validators contained nearly identical validation logic that was duplicated across methods.

Changes Made

Consolidated duplicate validation logic into a single reusable method
Fixed validator naming conflicts - no more overrides
Maintained all existing validation rules with field-specific parameters

@grk717 grk717 self-requested a review July 30, 2025 11:34
@azeriker azeriker merged commit 14d2d71 into ZennoLab:main Jul 30, 2025
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants