@never_cache
def submissions(request):
  if request.method == 'GET':
    return get_submissions(request)
  else:
    raise StructuredException(code="INVALID_METHOD", message=_('GET request required.'), error_code=405)
dataset/ETHPy150Open cloudera/hue/apps/sqoop/src/sqoop/api/submission.py/submissions/original