|
@@ -20,11 +20,10 @@ class ReasonCollection:
|
|
|
|
|
|
Because Taipy applications are natively multiuser, asynchronous, and dynamic,
|
|
|
some functions might not be called in some specific contexts. You can protect
|
|
|
- such calls by calling other methods that return a Reasons object. It acts like a
|
|
|
+ such calls by calling other methods that return a `ReasonCollection`. It acts like a
|
|
|
boolean: True if the operation can be performed and False otherwise.
|
|
|
- If the action cannot be performed, the Reasons object holds all the `reasons as a list
|
|
|
- of `Reason` objects. Each `Reason` holds an explanation of why the operation cannot be
|
|
|
- performed.
|
|
|
+ If the action cannot be performed, the ReasonCollection holds all the individual reasons as a list
|
|
|
+ of `Reason` objects. Each `Reason` explains why the operation cannot be performed.
|
|
|
"""
|
|
|
|
|
|
def __init__(self) -> None:
|