merge_machine/api.py
def count_jobs_in_queue():
    '''Returns the number of jobs enqueued'''
    # TODO: change for position in queue
    num_jobs = len(q.job_ids)
    return jsonify(num_jobs=num_jobs)
Returns the number of jobs enqueued
Returns the number of jobs enqueued
Returns the number of jobs enqueued
def count_jobs_in_queue():
    num_jobs = len(q.job_ids)
    return jsonify(num_jobs=num_jobs)
def count_jobs_in_queue ( ) : num_jobs = len ( q . job_ids ) return jsonify ( num_jobs = num_jobs )
Returns the number of jobs enqueued
Returns the number of jobs enqueued
'''Returns the number of jobs enqueued''' # TODO: change for position in queue