Skip to content

Commit

Permalink
rename allow_population_by_field_name
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang authored Dec 24, 2023
1 parent ab008de commit 2bd1bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python3_capsolver/core/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class CaptchaResponseSer(ResponseSer):
solution: Dict[str, Any] = Field(None, description="Task result data. Different for each type of task.")

class Config:
allow_population_by_field_name = True
populate_by_name = True


class ControlResponseSer(ResponseSer):
Expand Down

0 comments on commit 2bd1bd0

Please sign in to comment.