Python
@morph.func
It can be registered as a function that can be executed in morph by annotating it with @morph.func
.
Parameters
name
string
default: "function name"Process name, can also be used as an alias when calling from another file.
description
string
Can describe the process
output_paths
array: string
default: "['/tmp/morph/{name}/{now()}{ext()}']"Output paths for the result files.
See here for description.
output_type
string
Specification of the format of the output results. If not specified, the system automatically estimates the result.
Values: dataframe
, visualization
, markdown
, json