Skip to content

Commit

Permalink
remove unused type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Jan 29, 2022
1 parent 803e91a commit 417a3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starlette/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def cookies(self) -> typing.Dict[str, str]:
@property
def client(self) -> Address:
host, port = self.scope.get("client") or (None, None)
return Address(host=host, port=port) # type: ignore[arg-type]
return Address(host=host, port=port)

@property
def session(self) -> dict:
Expand Down

0 comments on commit 417a3d7

Please sign in to comment.