mirror of https://github.com/scrapy/scrapy.git
Restore lost typing
This commit is contained in:
parent
1fdd0a70a0
commit
c3b1700774
|
|
@ -121,7 +121,7 @@ class Request(object_ref):
|
|||
def encoding(self) -> str:
|
||||
return self._encoding
|
||||
|
||||
def __repr__(self):
|
||||
def __repr__(self) -> str:
|
||||
return f"<{self.method} {self.url}>"
|
||||
|
||||
def copy(self) -> "Request":
|
||||
|
|
|
|||
Loading…
Reference in New Issue