Skip to content

Commit

Permalink
Added note to get_schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
dnorhoj committed Sep 28, 2022
1 parent e5874bf commit 91c2a69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lectio/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ def __populate(self) -> None:
def get_schedule(self, start_date: 'datetime', end_date: 'datetime', strip_time: bool = True) -> List['Module']:
"""Get schedule for user
Note:
As lectio is weird, you can only get a schedule for a range
that is less than one month.
If you specify a range greater than one month, you will get an empty return list.
Args:
start_date (:class:`datetime.datetime`): Start date
end_date (:class:`datetime.datetime`): End date
Expand Down

0 comments on commit 91c2a69

Please sign in to comment.