RequestHandlerRunResult
Index
Methods
__init__
Parameters
optionalkeyword-onlykey_value_store_getter: GetKeyValueStoreFunction
Returns None
add_requests
Track a call to the
add_requests
context helper.Parameters
optionalkeyword-onlyrequests: Sequence[str | BaseRequestData]
keyword-onlylimit: int
Maximum number of requests to be enqueued.
keyword-onlybase_url: str
Base URL to be used for relative URLs.
keyword-onlystrategy: EnqueueStrategy
Enqueueing strategy, see the
EnqueueStrategy
enum for possible values and their meanings.keyword-onlyinclude: list[re.Pattern | Glob]
List of regular expressions or globs that URLs must match to be enqueued.
keyword-onlyexclude: list[re.Pattern | Glob]
List of regular expressions or globs that URLs must not match to be enqueued.
Returns None
get_key_value_store
Parameters
optionalkeyword-onlyid: str | None = None
optionalkeyword-onlyname: str | None = None
Returns KeyValueStoreInterface
push_data
Track a call to the
push_data
context helper.Parameters
optionalkeyword-onlydata: JsonSerializable
optionalkeyword-onlydataset_id: str | None = None
optionalkeyword-onlydataset_name: str | None = None
Returns None
Record of calls to storage-related context helpers.