(context: BasicCrawlingContext)
| 912 | |
| 913 | @crawler.router.handler('one') |
| 914 | async def handler_one(context: BasicCrawlingContext) -> None: |
| 915 | state = await context.use_state({'hello': 'world'}) |
| 916 | state_in_handler_one.update(state) |
| 917 | state['hello'] = 'new_world' |
| 918 | await context.add_requests([Request.from_url('https://crawlee.dev/docs/quick-start', label='two')]) |
| 919 | |
| 920 | @crawler.router.handler('two') |
| 921 | async def handler_two(context: BasicCrawlingContext) -> None: |
nothing calls this directly
no test coverage detected