Register Rule • AI Agent SDK

register_rule: Register a migration rule.

register_rule

Method

</div>

This is a method of the DoctorRulesRegistry class in the doctor_registry module.

Register a migration rule.

Signature

python
def register_rule(rule: DoctorContractProtocol) -> None

Parameters

ParamField DoctorContractProtocol

No description available.

Uses

  • TypeError
  • warnings.warn

Used By

Source

View on GitHub

praisonaiagents/runtime/doctor_registry.py at line 26