From 959006524082e9d41904997ee0c9ef317f2b3f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20L=C3=B3pez?= Date: Wed, 16 Sep 2020 16:17:50 -0600 Subject: [PATCH] Updated documentation for schedule_task parameters in TaskSet (task.py) The parameters "args" and "kwargs" were removed in commit 82c2d6a68f946bdd303642dff6a89e0d5c2bf298. However they still show in the latest documentation https://docs.locust.io/en/latest/api.html?highlight=schedule_task#locust.TaskSet.schedule_task --- locust/user/task.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/locust/user/task.py b/locust/user/task.py index 9dfb68a840..7019cb2c96 100644 --- a/locust/user/task.py +++ b/locust/user/task.py @@ -326,8 +326,6 @@ def schedule_task(self, task_callable, first=False): Add a task to the User's task execution queue. :param task_callable: User task to schedule. - :param args: Arguments that will be passed to the task callable. - :param kwargs: Dict of keyword arguments that will be passed to the task callable. :param first: Optional keyword argument. If True, the task will be put first in the queue. """ if first: