diff --git a/lms/djangoapps/mobile_api/course_info/constants.py b/lms/djangoapps/mobile_api/course_info/constants.py index 67f26ca78ff1..d62cb463951a 100644 --- a/lms/djangoapps/mobile_api/course_info/constants.py +++ b/lms/djangoapps/mobile_api/course_info/constants.py @@ -1 +1,5 @@ +""" +Common constants for the `course_info` API. +""" + BLOCK_STRUCTURE_CACHE_TIMEOUT = 60 * 60 # 1 hour diff --git a/lms/djangoapps/mobile_api/course_info/utils.py b/lms/djangoapps/mobile_api/course_info/utils.py index 5af34c459d2b..b86361223275 100644 --- a/lms/djangoapps/mobile_api/course_info/utils.py +++ b/lms/djangoapps/mobile_api/course_info/utils.py @@ -1,3 +1,7 @@ +""" +Common utils for the `course_info` API. +""" + from django.core.cache import cache from lms.djangoapps.courseware.access import has_access