Skip to content

Commit

Permalink
[schedy] Fixed parameter name in docs for schedule expression helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schindler committed Jun 10, 2019
1 parent 4a0a3cc commit a435917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/apps/schedy/schedules/expressions/helpers/schedule.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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

0 comments on commit a435917

Please sign in to comment.