Merge pull request #746 from Digenis/doc

Document signal "request_scheduled"
This commit is contained in:
Pablo Hoffman 2014-06-14 20:49:43 -03:00
commit 313ff26a79
1 changed files with 16 additions and 0 deletions

View File

@ -183,6 +183,22 @@ spider_error
:param spider: the spider which raised the exception
:type spider: :class:`~scrapy.spider.Spider` object
request_scheduled
-----------------
.. signal:: request_scheduled
.. function:: request_scheduled(request, spider)
Sent when the engine schedules a :class:`~scrapy.http.Request` for
download.
The signal does not support returning deferreds from their handlers.
:param request: the request that reached the scheduler
:type request: :class:`~scrapy.http.Request` object
:param spider: the spider that yielded the request
:type spider: :class:`~scrapy.spider.Spider` object
response_received
-----------------