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
edx
edx-proctoring
Commits
e02c44c0
Commit
e02c44c0
authored
Oct 05, 2015
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #189 from edx/muhhshoaib/fixed-the-bug-add-default-parameter-to-api-methods
fixed the bug
parents
cbe5137d
614e8571
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
edx_proctoring/api.py
+2
-2
No files found.
edx_proctoring/api.py
View file @
e02c44c0
...
@@ -199,7 +199,7 @@ def add_allowance_for_user(exam_id, user_info, key, value):
...
@@ -199,7 +199,7 @@ def add_allowance_for_user(exam_id, user_info, key, value):
ProctoredExamStudentAllowance
.
add_allowance_for_user
(
exam_id
,
user_info
,
key
,
value
)
ProctoredExamStudentAllowance
.
add_allowance_for_user
(
exam_id
,
user_info
,
key
,
value
)
def
get_allowances_for_course
(
course_id
,
timed_exams_only
):
def
get_allowances_for_course
(
course_id
,
timed_exams_only
=
False
):
"""
"""
Get all the allowances for the course.
Get all the allowances for the course.
"""
"""
...
@@ -805,7 +805,7 @@ def remove_exam_attempt(attempt_id):
...
@@ -805,7 +805,7 @@ def remove_exam_attempt(attempt_id):
)
)
def
get_all_exams_for_course
(
course_id
,
timed_exams_only
,
active_only
=
False
):
def
get_all_exams_for_course
(
course_id
,
timed_exams_only
=
False
,
active_only
=
False
):
"""
"""
This method will return all exams for a course. This will return a list
This method will return all exams for a course. This will return a list
of dictionaries, whose schema is the same as what is returned in
of dictionaries, whose schema is the same as what is returned in
...
...
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