Преглед на файлове

fix: update refman to clarify what happens when creating entity

trgiangdo преди 1 година
родител
ревизия
61b66d09b6
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      taipy/core/taipy.py

+ 4 - 0
taipy/core/taipy.py

@@ -839,6 +839,8 @@ def create_scenario(
     If the scenario belongs to a cycle, a cycle (corresponding to the _creation_date_
     and the configuration frequency attribute) is created if it does not exist yet.
 
+    By creating the scenario entity, updating the Configuration is blocked.
+
     Parameters:
         config (ScenarioConfig^): The scenario configuration used to create a new scenario.
         creation_date (Optional[datetime.datetime]): The creation date of the scenario.
@@ -856,6 +858,8 @@ def create_scenario(
 def create_global_data_node(config: DataNodeConfig) -> DataNode:
     """Create and return a new GLOBAL data node from a data node configuration.
 
+    By creating the data node entity, updating the Configuration is blocked.
+
     Parameters:
         config (DataNodeConfig^): The data node configuration. It must have a `GLOBAL` scope.