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

Class ProcessedRequest

src/crawlee/storage_clients/models.py:143–153  ·  view source on GitHub ↗

Represents a processed request.

Source from the content-addressed store, hash-verified

141
142@docs_group('Storage data')
143class ProcessedRequest(BaseModel):
144 """Represents a processed request."""
145
146 model_config = ConfigDict(validate_by_name=True, validate_by_alias=True, from_attributes=True)
147
148 id: Annotated[str | None, Field(alias='requestId', default=None)] = None
149 """Internal representation of the request by the storage client. Only some clients use id."""
150
151 unique_key: Annotated[str, Field(alias='uniqueKey')]
152 was_already_present: Annotated[bool, Field(alias='wasAlreadyPresent')]
153 was_already_handled: Annotated[bool, Field(alias='wasAlreadyHandled')]
154
155
156@docs_group('Storage data')

Callers 13

add_batch_of_requestsMethod · 0.90
reclaim_requestMethod · 0.90
add_batch_of_requestsMethod · 0.90
reclaim_requestMethod · 0.90
add_batch_of_requestsMethod · 0.90
reclaim_requestMethod · 0.90
add_batch_of_requestsMethod · 0.90
reclaim_requestMethod · 0.90

Calls

no outgoing calls

Tested by 1

patched_add_batchFunction · 0.72