fabricatio_rule.models.patch

A patch class for updating the description and name of a WithBriefing object, all fields within this instance will be directly copied onto the target model’s field.

Classes

RuleSetMetadata

A patch class for updating the description and name of a RuleSet object, all fields within this instance will be directly copied onto the target model's field.

Module Contents

class fabricatio_rule.models.patch.RuleSetMetadata(/, **data: Any)

Bases: fabricatio_capabilities.models.generic.Patch[fabricatio_rule.models.rule.RuleSet], fabricatio_core.models.generic.WithBriefing

A patch class for updating the description and name of a RuleSet object, all fields within this instance will be directly copied onto the target model’s field.

static ref_cls() Type[pydantic.BaseModel] | None

Get the reference class of the model.