From b9fb882746809bd277c5f1677b08aa8c3e8f53dc Mon Sep 17 00:00:00 2001 From: Peter Schutt Date: Thu, 11 Jan 2024 20:20:40 +1000 Subject: [PATCH] Removed duplicate argument from add_job() docstring (#845) --- src/apscheduler/_schedulers/async_.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apscheduler/_schedulers/async_.py b/src/apscheduler/_schedulers/async_.py index 5363dd3ab..b2aec0381 100644 --- a/src/apscheduler/_schedulers/async_.py +++ b/src/apscheduler/_schedulers/async_.py @@ -524,10 +524,9 @@ async def add_job( Either the ID of a pre-existing task, or a function/method. If a function is given, a task will be created with the fully qualified name of the function as the task ID (unless that task already exists of course). - :param job_executor: name of the job executor to run the job with :param args: positional arguments to call the target callable with :param kwargs: keyword arguments to call the target callable with - :param job_executor: name of the job executor to run the task with + :param job_executor: name of the job executor to run the job with :param result_expiration_time: the minimum time (as seconds, or timedelta) to keep the result of the job available for fetching (the result won't be saved at all if that time is 0)