Code Options
Customize your Mito generated code by converting it to a function, selecting parameters and more.
Configuring Code Options
Adding code options allows you to configure the code to be generated in a way that works for your specific use-case. This includes options for generating the code as a function, and for including the imports from your code when adding custom python code.
Parameter | Type | Description |
---|---|---|
|
| If |
|
| The name of the function Mito generates. |
|
| If |
|
| A mapping from function parameter name to the original value used in the script. |
|
| If |
For example, if you want to generate a function named "my_function" that receives one input called file_path
, you could use the following code options:
Last updated