diff --git a/starlette/requests.py b/starlette/requests.py index ab6f51424b..17977befcf 100644 --- a/starlette/requests.py +++ b/starlette/requests.py @@ -73,6 +73,9 @@ def __iter__(self) -> typing.Iterator[str]: def __len__(self) -> int: return len(self.scope) + __eq__ = object.__eq__ + __hash__ = object.__hash__ + @property def app(self) -> typing.Any: return self.scope["app"]