MCPcopy Create free account
hub / github.com/apify/crawlee-python / AddRequestsResponse

Class AddRequestsResponse

src/crawlee/storage_clients/models.py:168–183  ·  view source on GitHub ↗

Model for a response to add requests to a queue. Contains detailed information about the processing results when adding multiple requests to a queue. This includes which requests were successfully processed and which ones encountered issues during processing.

Source from the content-addressed store, hash-verified

166
167@docs_group('Storage data')
168class AddRequestsResponse(BaseModel):
169 """Model for a response to add requests to a queue.
170
171 Contains detailed information about the processing results when adding multiple requests
172 to a queue. This includes which requests were successfully processed and which ones
173 encountered issues during processing.
174 """
175
176 model_config = ConfigDict(validate_by_name=True, validate_by_alias=True, from_attributes=True)
177
178 processed_requests: Annotated[list[ProcessedRequest], Field(alias='processedRequests')]
179 """Successfully processed requests, including information about whether they were
180 already present in the queue and whether they had been handled previously."""
181
182 unprocessed_requests: Annotated[list[UnprocessedRequest], Field(alias='unprocessedRequests')]
183 """Requests that could not be processed, typically due to validation errors or other issues."""

Callers 6

add_batch_of_requestsMethod · 0.90
add_batch_of_requestsMethod · 0.90
add_batch_of_requestsMethod · 0.90
add_batch_of_requestsMethod · 0.90
_process_batchMethod · 0.90
patched_add_batchFunction · 0.90

Calls

no outgoing calls

Tested by 1

patched_add_batchFunction · 0.72