Hi Tomas,
The type argument should be "shaker", not "prepare" in the code snippet you included.
We have already logged the request to add additional code samples on this part of the Dataiku API, see: https://doc.dataiku.com/dss/latest/python-api/rest-api-client/recipes.html.
Cheers,
Alex