diff --git a/locust/runners.py b/locust/runners.py index c1eaa50384..617bac43b4 100644 --- a/locust/runners.py +++ b/locust/runners.py @@ -84,7 +84,7 @@ def user_classes(self): return self.environment.user_classes @property - def stats(self): + def stats(self) -> RequestStats: return self.environment.stats @property