Cannot create these recipes (geojoin, update, CustomCode_forward_geocoding)

Solved!
kai2023
Level 1
Cannot create these recipes (geojoin, update, CustomCode_forward_geocoding)

Hi there,

When I tried to create the following type recipes using Python API, got NoneType builder and cannot create them. 

How can I create these types of recipes? Thanks.

builder1 = my_project.new_recipe('geojoin') # builder1 is NoneType
builder2 = my_project.new_recipe('update')  # builder2 is NoneType
builder3 = my_project.new_recipe('CustomCode_forward_geocoding') # builder3 is NoneType

 

0 Kudos
1 Solution
SarinaS
Dataiker

Hi @kai2023,

It looks like these are all plugin recipes, and are not built-in DSS recipes. The new_recipe() function will only work on built-in DSS recipes, and not plugin recipes. 

This response has a good example of how you can create plugin recipes via the API:  
https://community.dataiku.com/t5/Plugins-Extending-Dataiku/Create-plugin-recipe-between-existing-dat...

Thank you,
Sarina

View solution in original post

0 Kudos
2 Replies
SarinaS
Dataiker

Hi @kai2023,

It looks like these are all plugin recipes, and are not built-in DSS recipes. The new_recipe() function will only work on built-in DSS recipes, and not plugin recipes. 

This response has a good example of how you can create plugin recipes via the API:  
https://community.dataiku.com/t5/Plugins-Extending-Dataiku/Create-plugin-recipe-between-existing-dat...

Thank you,
Sarina

0 Kudos
kai2023
Level 1
Author

Hi @SarinaS 

Thanks for your answer.

I will check the example.

Thank you very much

 

0 Kudos