Taipy.core.compare scenarios
Compare the data nodes of several scenarios.
You can specify which data node config identifier should the comparison be performed on.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
*scenarios |
*Scenario
|
The list of the scenarios to compare. |
()
|
data_node_config_id |
Optional[str]
|
Config identifier of the DataNode to compare
scenarios. |
None
|
Returns:
Type | Description |
---|---|
Dict[str, Any]
|
Dict[str, Any]: The comparison results. The key is the data node config identifier that is compared. |
Raises:
Type | Description |
---|---|
InsufficientScenarioToCompare
|
Only one or no scenario for comparison is provided. |
NonExistingComparator
|
The scenario comparator does not exist. |
DifferentScenarioConfigs
|
scenarios do not share the same scenario config. |
NonExistingScenarioConfig
|
The scenario config of the provided scenarios could not be found. |