From bd198acf2694272707a23429a475255e8754ab42 Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 4 May 2020 23:37:20 +0200 Subject: [PATCH] Add type annotation --- locust/runners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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