Skip to content

Commit

Permalink
Merge pull request #5977 from scrapy/typing-settings
Browse files Browse the repository at this point in the history
Typing for scrapy.settings.BaseSettings
  • Loading branch information
wRAR committed Jul 24, 2023
2 parents 7a1afff + 5e15824 commit 6e3e3c2
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 57 deletions.
2 changes: 1 addition & 1 deletion scrapy/crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Crawler:
def __init__(
self,
spidercls: Type[Spider],
settings: Union[None, dict, Settings] = None,
settings: Union[None, Dict[str, Any], Settings] = None,
init_reactor: bool = False,
):
if isinstance(spidercls, Spider):
Expand Down

0 comments on commit 6e3e3c2

Please sign in to comment.