python workflow prototype