Skip to content
Myr

Fix response.url annotation (#1940)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tom Christie · committed by GitHub · parent b4f6069 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:httpx/_models.py+1 added-1 removed
1300 unmodified lines
1301 except KeyError:1302 return codes.get_reason_phrase(self.status_code)13031304 @property1305 def url(self) -> typing.Optional[URL]:1305 def url(self) -> URL:1306 """1307 Returns the URL for which the request was made.1308 """1309 return self.request.url
636 unmodified lines