Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOutdated item pipeline example about Deferred #4514
Labels
Comments
|
I've read this article a few times, which shows how to use async/await independently from |
|
The docs need an example of a spider with asynio enabled and used. |
|
A simple spider does not require asyncio, and a complex spider would not make for a good example. On the other hand, it may be useful to cover, for example, an example item pipeline that uses an asyncio-based SQL client to record items in a database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Take screenshot of item example says "This example demonstrates how to return a Deferred from the process_item() method", but that is no longer the case (async/await syntax is currently used).
I think we should remove that sentence
and add a reminder about enabling theasyncioreactor.Also, I wonder if it'd be good to also restore the previous
Deferredexample and keep both of them, since not all projects might be able/willing to switch to theasyncioreactor.