mirror of https://github.com/scrapy/scrapy.git
Full typing for scrapy/exceptions.py.
This commit is contained in:
parent
9960c62b87
commit
c5885fc13b
|
|
@ -52,7 +52,7 @@ class StopDownload(Exception):
|
|||
should be handled by the request errback. Note that 'fail' is a keyword-only argument.
|
||||
"""
|
||||
|
||||
def __init__(self, *, fail=True):
|
||||
def __init__(self, *, fail: bool = True):
|
||||
super().__init__()
|
||||
self.fail = fail
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue