Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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-platform
Commits
d0daa617
Commit
d0daa617
authored
Mar 26, 2014
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused function
parent
f3ff6cf3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
common/lib/xmodule/xmodule/open_ended_grading_classes/controller_query_service.py
+0
-18
No files found.
common/lib/xmodule/xmodule/open_ended_grading_classes/controller_query_service.py
View file @
d0daa617
...
...
@@ -15,21 +15,11 @@ class ControllerQueryService(GradingService):
self
.
url
=
config
[
'url'
]
+
config
[
'grading_controller'
]
self
.
login_url
=
self
.
url
+
'/login/'
self
.
check_eta_url
=
self
.
url
+
'/get_submission_eta/'
self
.
is_unique_url
=
self
.
url
+
'/is_name_unique/'
self
.
combined_notifications_url
=
self
.
url
+
'/combined_notifications/'
self
.
grading_status_list_url
=
self
.
url
+
'/get_grading_status_list/'
self
.
flagged_problem_list_url
=
self
.
url
+
'/get_flagged_problem_list/'
self
.
take_action_on_flags_url
=
self
.
url
+
'/take_action_on_flags/'
def
check_if_name_is_unique
(
self
,
location
,
problem_id
,
course_id
):
params
=
{
'course_id'
:
course_id
,
'location'
:
location
,
'problem_id'
:
problem_id
}
response
=
self
.
get
(
self
.
is_unique_url
,
params
)
return
response
def
check_for_eta
(
self
,
location
):
params
=
{
'location'
:
location
,
...
...
@@ -85,14 +75,6 @@ class MockControllerQueryService(object):
def
__init__
(
self
,
config
,
system
):
pass
def
check_if_name_is_unique
(
self
,
*
args
,
**
kwargs
):
"""
Mock later if needed. Stub function for now.
@param params:
@return:
"""
pass
def
check_for_eta
(
self
,
*
args
,
**
kwargs
):
"""
Mock later if needed. Stub function for now.
...
...
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