diff --git a/screenpy_requests/questions/body_of_the_last_response.py b/screenpy_requests/questions/body_of_the_last_response.py index 732e1db..6aed833 100644 --- a/screenpy_requests/questions/body_of_the_last_response.py +++ b/screenpy_requests/questions/body_of_the_last_response.py @@ -53,7 +53,7 @@ class BodyOfTheLastResponse: body_parts: list[str | int] - def __getitem__(self, key: str) -> BodyOfTheLastResponse: + def __getitem__(self, key: str | int) -> BodyOfTheLastResponse: self.body_parts.append(key) return self