taipy.core.data.InMemoryDataNode
Bases: DataNode
Data Node stored in memory.
Warning
This Data Node implementation is not compatible with a parallel execution of taipy tasks,
but only with a Synchronous task executor. The purpose of InMemoryDataNode
is to be used
for development or debugging.
Attributes:
Name | Type | Description |
---|---|---|
config_id |
str
|
Identifier of the data node configuration. It must be a valid Python identifier. |
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
|
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 an In Memory data node, if the properties dictionary contains a "default_data" entry, the data node is automatically written with the corresponding "default_data" value. |