Customise code recipe defaults

jmccartin
Level 3
Customise code recipe defaults
Forgive me if this question has already been raised, but I couldn't find anything here or in your documentation.

Is there a way to change the boilerplate code when creating a Python or PySpark recipe? There are a few things that are needed in the PySpark recipe in order to get Python3 to work on spark clusters (specifically relating to environment variables). The Python recipes currently don't abide by PEP8 (multiple imports on one line) and are not done alphabetically (minor complaint). I also wouldn't mind importing various packages to keep consistency across projects. This is rather helpful when trying to improve coding standards across data science teams.
3 Replies
Clรฉment_Stenac
Hi,

This is not possible but is currently in our backlog
jmccartin
Level 3
Author
Would it be possible through a plugin?

And is there a way I could track this issue, to be notified of any changes in the future?
AdrienL
Dataiker
Additionally, you can add code samples (snippets) from the top-right corner of the code recipe editor.