def s3_from_db(bucket): return jsonify(get_s3(bucket))
def S3_check(bucket): process = multiprocessing.Process(target=s3_job, args=(bucket,)) process.start() process.join() return jsonify(get_s3(bucket))