Skip to content

ruleset

Ruleset

Source code in griptape/rules/ruleset.py
@define
class Ruleset:
    name: str = field()
    rules: Sequence[BaseRule] = field()

name: str = field() class-attribute instance-attribute

rules: Sequence[BaseRule] = field() class-attribute instance-attribute