Update docs/topics/practices.rst

Co-authored-by: Andrey Rakhmatullin <wrar@wrar.name>
This commit is contained in:
Laerte Pereira 2024-05-23 07:00:24 -03:00 committed by GitHub
parent 9d5a0d287b
commit 17e623cf0c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,7 @@ Same example but using a non-default reactor, it's only necessary call
configure_logging({"LOG_FORMAT": "%(levelname)s: %(message)s"})
from scrapy.utils.reactor import install_reactor
install_reactor("twisted.internet.asyncioreactor.AsyncioSelectorReactor")