Skip to content

Commit 47f31fd

Browse files
committed
fix(types): resolve mypy and pyright type checking errors
1 parent 384ad13 commit 47f31fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scrapling/spiders/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(
4848
async def _fetch_robots(url: str, sid: str):
4949
return await self.session_manager.fetch(Request(url, sid=sid))
5050

51-
self._robots_manager = RobotsTxtManager(_fetch_robots)
51+
self._robots_manager: Optional[RobotsTxtManager] = RobotsTxtManager(_fetch_robots)
5252
else:
5353
self._robots_manager = None
5454

0 commit comments

Comments
 (0)