def finalize_submission(upload_id): file_manager = FileHandler(request, is_local=is_local, server_path=server_path) return file_manager.finalize(upload_id)
def finalize_submission(): fileManager = FileHandler(request, isLocal=IS_LOCAL, serverPath=SERVER_PATH) return fileManager.finalize()