a piece of python code that can either transform data, generate plot, train Machine Learning models.
Attributes
Name | Type | Description |
---|---|---|
script_id | uuid.UUID | technical id of the script |
name | str | name of your script function, same as the code object. |
description | str | provide an insight-full description of what does your script. |
source | str | source code extracted from your source file. |
Methods
api_id()
Id of the script (script_id)
return: string formatted UUID of the script.
copy()
Copy your function code and decorators to a format executable by the Wizata App.
Name | Type | Default | Description |
---|---|---|---|
myfunction | your function - pass the function itself as parameter |
endpoint()
Name of the endpoints used to manipulate scripts.
return: Endpoint name.
from_json()
Load the Script entity from a dictionary representation of the Script.
Name | Type | Default | Description |
---|---|---|---|
obj | Dict version of the Script. |
set_id()
specify the id_value neutrally
Name | Type | Default | Description |
---|---|---|---|
id_value |
return:
to_json()
Convert the script to a dictionary compatible to JSON format.
Name | Type | Default | Description |
---|---|---|---|
target | str | None |
return: dictionary representation of the Script object.