Skip to content

Commit

Permalink
avoid mypy error "Signature of "request" incompatible with supertype …
Browse files Browse the repository at this point in the history
…"Session" [override]"
  • Loading branch information
Lars Holmberg committed Jun 17, 2024
1 parent 415ca8c commit 8eee482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def rename_request(self, name: str) -> Generator[None, None, None]:
finally:
self.request_name = None

def request(self, method, url, name=None, catch_response=False, context={}, **kwargs) -> Response:
def request(self, method, url, name=None, catch_response=False, context={}, **kwargs):
"""
Constructs and sends a :py:class:`requests.Request`.
Returns :py:class:`requests.Response` object.
Expand Down

0 comments on commit 8eee482

Please sign in to comment.