From a4359175f4870828b5f02019d55d8546aea1bb22 Mon Sep 17 00:00:00 2001 From: Robert Schindler Date: Mon, 10 Jun 2019 12:40:25 +0200 Subject: [PATCH] [schedy] Fixed parameter name in docs for schedule expression helpers --- docs/apps/schedy/schedules/expressions/helpers/schedule.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apps/schedy/schedules/expressions/helpers/schedule.rst b/docs/apps/schedy/schedules/expressions/helpers/schedule.rst index 358feab5..9d4a96fb 100644 --- a/docs/apps/schedy/schedules/expressions/helpers/schedule.rst +++ b/docs/apps/schedy/schedules/expressions/helpers/schedule.rst @@ -40,7 +40,7 @@ Example: result = schedule.evaluate( schedule_snippets["snip"], - end=now+datetime.timedelta(hours=1) + when=now+datetime.timedelta(hours=1), ) if result: value = result[0] @@ -67,7 +67,7 @@ Example: results = schedule.next_results( schedule_snippets["snip"], - end=now+datetime.timedelta(hours=10) + end=now+datetime.timedelta(hours=10), ) for when, (value, markers, rule) in results: # do something with the value