Commit 31e609ff by Peter Fogg

Merge pull request #10510 from edx/peter-fogg/update-cert-info-docstring

Update `cert_info` docstring with correct return type.
parents 01f1c3a1 13f20d56
......@@ -194,7 +194,7 @@ def cert_info(user, course_overview, course_mode):
course_mode (str): The enrollment mode (honor, verified, audit, etc.)
Returns:
dict: A dictionary with keys:
dict: Empty dict if certificates are disabled or hidden, or a dictionary with keys:
'status': one of 'generating', 'ready', 'notpassing', 'processing', 'restricted'
'show_download_url': bool
'download_url': url, only present if show_download_url is True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment