You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are certain classes in Scrapy that may optionally define the from_crawler and from_settings class methods.
At the moment, we document this fact in every single one of them. We repeat ourselves a lot. But we also often fail to cover how to properly subclass a class that defines one of these methods.
I think we need to extend the documentation with a section or a page about this type of classes, and have all such classes reference this central documentation instead of providing their own documentation about this aspect of such classes.
The text was updated successfully, but these errors were encountered:
There are certain classes in Scrapy that may optionally define the
from_crawler
andfrom_settings
class methods.At the moment, we document this fact in every single one of them. We repeat ourselves a lot. But we also often fail to cover how to properly subclass a class that defines one of these methods.
I think we need to extend the documentation with a section or a page about this type of classes, and have all such classes reference this central documentation instead of providing their own documentation about this aspect of such classes.
The text was updated successfully, but these errors were encountered: