1
0
Эх сурвалжийг харах

[DATALAD RUNCMD] Do interactive fixing of some ambigous typos

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w -i 3 -C 2",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
Yaroslav Halchenko 1 жил өмнө
parent
commit
e56732c7f8

+ 1 - 1
taipy/core/notification/event.py

@@ -132,7 +132,7 @@ def _make_event(
             </ul>
         attribute_name (Optional[str]): The name of the updated attribute for a `EventOperation.UPDATE`.
             This argument is always given in case of an UPDATE.
-        attribute_value (Optional[Any]): The value of the udated attribute for a `EventOperation.UPDATE`.
+        attribute_value (Optional[Any]): The value of the updated attribute for a `EventOperation.UPDATE`.
             This argument is always given in case of an UPDATE.
         **kwargs (dict[str, any]): Any extra information that would be passed to the metadata event.
             Note: you should pass only simple types: str, float, double as values."""

+ 1 - 1
taipy/gui/utils/_evaluator.py

@@ -299,7 +299,7 @@ class _Evaluator:
         # A middle check to see if var_name is from _MapDict
         if "." in var_name:
             var_name = var_name[: var_name.index(".")]
-        # otherwise, thar var_name is correct and doesn't require any resolution
+        # otherwise, that var_name is correct and doesn't require any resolution
         if var_name not in self.__var_to_expr_list:
             # _warn("{var_name} not found.")
             return modified_vars

+ 1 - 1
taipy/gui_core/viselements.json

@@ -159,7 +159,7 @@
                     {
                         "name": "on_submission_change",
                         "type": "Callback",
-                        "doc": "The name of the function that is triggered when a submission status is changed.<br/><br/>All the parameters of that function are optional:\n<ul>\n<li>state (<code>State^</code>): the state instance.</li>\n<li>submittable (Submittable): the entity (usually a Scenario) that was submitted.</li>\n<li>details (dict): the details on this callback's invocation.<br/>\nThis dictionary has the following keys:\n<ul>\n<li>submission_status (str): the new status of the submission (possible values: SUBMITTED, COMPLETED, CANCELED, FAILED, BLOCKED, WAITING, RUNNING).</li>\n<li>job: the Job (if any) that is at the orgin of the submission status change.</li>\n</ul>",
+                        "doc": "The name of the function that is triggered when a submission status is changed.<br/><br/>All the parameters of that function are optional:\n<ul>\n<li>state (<code>State^</code>): the state instance.</li>\n<li>submittable (Submittable): the entity (usually a Scenario) that was submitted.</li>\n<li>details (dict): the details on this callback's invocation.<br/>\nThis dictionary has the following keys:\n<ul>\n<li>submission_status (str): the new status of the submission (possible values: SUBMITTED, COMPLETED, CANCELED, FAILED, BLOCKED, WAITING, RUNNING).</li>\n<li>job: the Job (if any) that is at the origin of the submission status change.</li>\n</ul>",
                         "signature": [["state", "State"], ["submittable", "Submittable"], ["details", "dict"]]
                     }
                 ]