Did I find the right examples for you? yes no

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)

src/e/d/edx-ora-HEAD/controller/grader_interface.py   edx-ora(Download)
        cache.set(nothing_to_ml_grade_for_location_key, True, settings.RECHECK_EMPTY_ML_GRADE_QUEUE_DELAY)
 
    util.log_connection_data()
 
    # Set this cache key to ensure that this expensive function isn't repeatedly called when not needed.
            ).count()
 
    util.log_connection_data()
    return util._success_response({'to_be_graded_count' : to_be_graded_count}, _INTERFACE_VERSION)
 
        return util._error_response("Nothing to grade.", _INTERFACE_VERSION)
 
    util.log_connection_data()
    return util._success_response({'submission_id' : sub_id}, _INTERFACE_VERSION)
 
        return util._error_response("Nothing to grade.", _INTERFACE_VERSION)
 
    util.log_connection_data()
    return util._success_response({'submission_id' : sub_id}, _INTERFACE_VERSION)
 
            return util._error_response("Could not save grader.", _INTERFACE_VERSION)
 
        util.log_connection_data()
        return util._success_response({'message' : "Saved successfully."}, _INTERFACE_VERSION)
 

src/e/d/edx-ora-HEAD/controller/views.py   edx-ora(Download)
        return util._error_response(combined_notifications,_INTERFACE_VERSION)
 
    util.log_connection_data()
    return util._success_response(combined_notifications, _INTERFACE_VERSION)
 
        }
 
    util.log_connection_data()
    return util._success_response(problem_list_dict, _INTERFACE_VERSION)
 
        }
 
    util.log_connection_data()
    return util._success_response(flagged_submission_dict, _INTERFACE_VERSION)
 
        }
 
    util.log_connection_data()
    return util._success_response(submission_dict, _INTERFACE_VERSION)
 

src/e/d/edx-ora-HEAD/controller/xqueue_interface.py   edx-ora(Download)
                return util._error_response("Failed to handle submission.", _INTERFACE_VERSION)
 
            util.log_connection_data()
            transaction.commit_unless_managed()
            return util._success_response({'message': "Saved successfully."}, _INTERFACE_VERSION)