MCPcopy Create free account
hub / github.com/alperensert/capmonster_python / CreateTaskPayload

Class CreateTaskPayload

src/capmonster_python/methods.py:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27
28
29class CreateTaskPayload(BaseModel):
30 clientKey: str = Field(..., description="Client key")
31 task: TaskPayload = Field(..., description="Task data")
32 callbackUrl: Optional[str] = Field(default=None,
33 description="Web address for sending the captcha task result. Data is sent by POST request.")
34
35 @field_serializer("task")
36 def serialize_task(self, task: TaskPayload, _info) -> dict:
37 return task.to_request()

Callers 2

create_taskMethod · 0.85
create_task_asyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected