mirror of https://github.com/scrapy/scrapy.git
Fix typing issue
This commit is contained in:
parent
13fe2f9b1c
commit
e2d80e8561
|
|
@ -68,7 +68,8 @@ class CreatedMediaDownloadSpider(MediaDownloadSpider):
|
|||
|
||||
name = "createdmedia"
|
||||
|
||||
def _process_url(self, url):
|
||||
def _process_url(self, url: str) -> str:
|
||||
assert self.mockserver
|
||||
return add_or_replace_parameter(self.mockserver.url("/created"), "goto", url)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue