base_rule BaseRule Bases: ABC Source code in griptape/rules/base_rule.py 9 10 11 12 13 14 15 16 17@define(frozen=True) class BaseRule(ABC): value: Any = field() def __str__(self) -> str: return self.to_text() @abstractmethod def to_text(self) -> str: ... value: Any = field() class-attribute instance-attribute __str__() Source code in griptape/rules/base_rule.py 13 14def __str__(self) -> str: return self.to_text() to_text() abstractmethod Source code in griptape/rules/base_rule.py 16 17@abstractmethod def to_text(self) -> str: ...