from_tuple
Method
This is a method of the GuardrailResult class in the guardrails module.Create from a tuple (success, result_or_error)
Signature
Parameters
No description available.
No description available.
Returns
The result of the operation.
from_tuple: Create from a tuple (success, result_or_error)
This is a method of the GuardrailResult class in the guardrails module.Create from a tuple (success, result_or_error)
def from_tuple(success: bool, data: impl Into<String>) -> Self