Remove partial typing from some code examples to keep them shorter

This commit is contained in:
Adrián Chaves 2025-03-12 17:36:48 +01:00
parent e049768987
commit cd6fe5fdac
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ one or more of these methods:
.. code-block:: python
async def process_seeds(self, seeds) -> AsyncIterator[Any]:
async def process_seeds(self, seeds):
async for seed in seeds:
yield seed
@ -93,7 +93,7 @@ one or more of these methods:
.. code-block:: python
def process_start_requests(self, seeds, spider) -> Iterable[Request]:
def process_start_requests(self, seeds, spider):
yield from seeds
.. method:: process_spider_input(response, spider)