

@classmethod
def from_crawler(cls, crawler):
    return cls(cls.settings)

dataset/ETHPy150Open scrapy/scrapy/tests/test_cmdline/extensions.py TestExtension.from_crawler/VarMisuse@18/20 `crawler`->`cls`