verify_capability_contract
Function
This function is defined in the base module.Check that each declared
supports_* flag is actually backed.
For every flag in :data:CAPABILITY_BACKING that the adapter declares
True, verify the backing method is present and not left as the unbacked
:class:BasePlatformAdapter default. Returns the list of human-readable
violation strings (empty when the contract holds).
Callers that want to fail loudly at registration time should call
:func:enforce_capability_contract instead; this function itself never
raises, so it is safe to use in a lenient/warn-only mode.
Signature
Parameters
Any
required
No description available.
Returns
List[str]
The result of the operation.
Uses
callable
Used By
Source
View on GitHub
praisonaiagents/bots/base.py at line 117
