Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gallaecio committed Dec 13, 2023
1 parent e2c5b17 commit a72f7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_poet/_request_fingerprinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __init__(self, crawler: Crawler) -> None:
settings=crawler.settings,
crawler=crawler,
)
self._callback_cache: Dict[Callable, bytes] = {}
self._callback_cache: Dict[Callable, Optional[bytes]] = {}
self._request_cache: "WeakKeyDictionary[Request, bytes]" = (
WeakKeyDictionary()
)
Expand Down

0 comments on commit a72f7c2

Please sign in to comment.