Document a backward incompatibility that may affect custom schedulers (#4274)

This commit is contained in:
Joy Bhalla 2020-02-07 02:51:33 +05:30 committed by GitHub
parent 3263441fbc
commit 4f31c3ce01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -288,6 +288,13 @@ Backward-incompatible changes
:class:`~scrapy.http.Request` objects instead of arbitrary Python data
structures.
* An additional ``crawler`` parameter has been added to the ``__init__`` method
of the :class:`scrapy.core.scheduler.Scheduler` class.
Custom scheduler subclasses which don't accept arbitrary parameters in
their ``__init__`` method might break because of this change.
For more information, refer to the documentation for the :setting:`SCHEDULER` setting.
See also :ref:`1.7-deprecation-removals` below.