Skip to content

taipy.core.data.PickleDataNode

Bases: DataNode

Data Node stored as a pickle file.

Attributes:

Name Type Description
config_id str

Identifier of the data node configuration. It must be a valid Python identifer.

scope Scope

The scope of this data node.

id str

The unique identifier of this data node.

name str

A user-readable name of this data node.

parent_id str

The identifier of the parent (pipeline_id, scenario_id, cycle_id) or None.

last_edit_date datetime

The date and time of the last modification.

job_ids List[str]

The ordered list of jobs that have written this data node.

cacheable bool

True if this data node is cacheable. False otherwise.

validity_period Optional[timedelta]

The validity period of a cacheable data node. Implemented as a timedelta. If validity_period is set to None, the data_node is always up-to-date.

edit_in_progress bool

True if a task computing the data node has been submitted and not completed yet. False otherwise.

properties dict[str, Any]

A dictionary of additional properties. When creating a pickle data node, if the properties dictionary contains a "default_data" entry, the data node is automatically written with the corresponding "default_data" value. If the properties dictionary contains a "default_path" or "path" entry, the data will be stored using the corresponding value as the name of the pickle file.