taipy.core.config.TaskConfig
Bases: Section
Holds all the configuration fields needed to create an actual Task
from the TaskConfig
.
Attributes:
Name | Type | Description |
---|---|---|
id |
str
|
Identifier of the task config. Must be a valid Python variable name. |
inputs |
Union[DataNodeConfig, List[DataNodeConfig]]
|
The optional list of |
outputs |
Union[DataNodeConfig, List[DataNodeConfig]]
|
The optional list of |
skippable |
bool
|
If True, indicates that the task can be skipped if no change has been made on inputs. The default value is False. |
function |
Callable
|
User function taking as inputs some parameters compatible with the exposed types (exposed_type field) of the input data nodes and returning results compatible with the exposed types (exposed_type field) of the outputs list. The default value is None. |
**properties |
dict[str, Any]
|
A dictionary of additional properties. |