Skip to content
Snippets Groups Projects
Commit 0fe2abbb authored by Bridger Maxwell's avatar Bridger Maxwell
Browse files

Added docstring.

parent 718499d7
No related merge requests found
......@@ -139,6 +139,13 @@ class CapaModule(XModule):
@lazyproperty
def lcp(self):
"""
Loading the problem can be fairly expensive, so we do this lazily.
This can throw errors. Always be sure to use try/catch before
displaying modules to a user.
"""
if self.rerandomize == 'never':
seed = 1
elif self.rerandomize == "per_student" and hasattr(self.system, 'id'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment