diff --git a/common/djangoapps/terrain/stubs/http.py b/common/djangoapps/terrain/stubs/http.py index db66edcf8c..e0b34825de 100644 --- a/common/djangoapps/terrain/stubs/http.py +++ b/common/djangoapps/terrain/stubs/http.py @@ -18,6 +18,7 @@ from six.moves.BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer # pylin from six.moves.socketserver import ThreadingMixIn # pylint: disable=import-error LOGGER = getLogger(__name__) + def require_params(method, *required_keys): """ Decorator to ensure that the method has all the required parameters.