Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-proctoring
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-proctoring
Commits
d9547f21
Commit
d9547f21
authored
Nov 16, 2015
by
Muhammad Shoaib
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addressed the feedback comments related to docstrings
parent
5f67fe9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
edx_proctoring/api.py
+5
-3
No files found.
edx_proctoring/api.py
View file @
d9547f21
...
...
@@ -101,8 +101,8 @@ def create_exam(course_id, content_id, exam_name, time_limit_mins, due_date=None
def
create_exam_review_policy
(
exam_id
=
None
,
set_by_user_id
=
None
,
review_policy
=
None
):
"""
Creates a new exam_review_policy entity, if the review_policy
for exam_id do not already exist.
If already
exists, then raise exception.
Creates a new exam_review_policy entity, if the review_policy
for exam_id does not already exist. If it
exists, then raise exception.
Returns: id (PK)
"""
...
...
@@ -166,8 +166,10 @@ def get_review_policy_by_exam_id(exam_id):
{
"id": 1
"proctored_exam": "{object}",
"user": "{object}",
"
set_by_
user": "{object}",
"exam_review_rules": "review rules value"
"created": "datetime",
"modified": "datetime"
}
"""
exam_review_policy
=
ProctoredExamReviewPolicy
.
get_review_policy_for_exam
(
exam_id
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment