Customise code recipe defaults
![jmccartin](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar21.png)
jmccartin
Registered Posts: 19 ✭✭✭✭
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.
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.
Tagged:
Answers
-
Hi,
This is not possible but is currently in our backlog -
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? -
Additionally, you can add code samples (snippets) from the top-right corner of the code recipe editor.