Skip to content

Commit 97570f3

Browse files
committed
add comment in example
1 parent ccc9b68 commit 97570f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/code_examples/request_loaders/sitemap_example.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ async def main() -> None:
2525
# And mark it as handled.
2626
await sitemap_loader.mark_request_as_handled(request)
2727
else:
28+
# If request is None, we give the loader time to get a new URL
29+
# from the sitemap.
2830
await asyncio.sleep(0.01)
2931

3032

0 commit comments

Comments
 (0)