evalml.pipelines.utils.
generate_pipeline_code
Creates and returns a string that contains the Python imports and code required for running the EvalML pipeline.
element (pipeline instance) – The instance of the pipeline to generate string Python code
String representation of Python code that can be run separately in order to recreate the pipeline instance. Does not include code for custom component implementation.