Skip to content

Commit

Permalink
style: [AXM-297] Try to fix linters (add docstrings)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyryloKireiev committed Apr 24, 2024
1 parent 3d70e8c commit fa6349c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lms/djangoapps/mobile_api/course_info/constants.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
"""
Common constants for the `course_info` API.
"""

BLOCK_STRUCTURE_CACHE_TIMEOUT = 60 * 60 # 1 hour
4 changes: 4 additions & 0 deletions lms/djangoapps/mobile_api/course_info/utils.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit fa6349c

Please sign in to comment.