Skip to content

Commit

Permalink
JR doc
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Robin <[email protected]>
  • Loading branch information
FredLL-Avaiga and jrobinAV authored Nov 29, 2024
1 parent 84d2fec commit 4d18c1e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions taipy/core/data/data_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,12 @@ def _get_rank(self, scenario_config_id: str) -> int:
Returns:
The int value representing the rank of the data node config in the scenario config DAG.
If the data node config is not found or has no rank, 0xffff is returned. These cases should never happen.
If the data node config is not part of the scenario config, 0xfffe is returned as an infinite rank.
If the scenario config is None or an empty string, 0xfffb is returned.<br/>
If the data node config is not found, 0xfffd is returned. This case cannot
happen in a normal situation.<br/>
If the data node config has no precomputed ranks, 0xfffe is returned. This case
cannot happen in a normal situation.<br/>
If the data node config is not part of the scenario config, 0xfffc is returned as an infinite rank.
"""
if not scenario_config_id:
return 0xfffb
Expand Down

0 comments on commit 4d18c1e

Please sign in to comment.