Skip to content

RuleInfo

relationalai.semantics.inspect
RuleInfo(text: str)

A registered define() or require() rule.

Each RuleInfo corresponds to one rule registered on the model via model.defines or model.requires. In the DSL, rules are the subset of Fragment objects that have an effect (define or require clauses).

RuleInfo.text: str

Rendered representation of the full fragment (via the internal pretty-printer).

 semantics > inspect
└──  ModelSchema