Ask a question to get started
Enter to send•Shift+Enter new line
require_model_allowed( self, model_spec: str, *, context: str | None = None ) ->
model_spec
str
context
str | None
None
Raise when an exact model spec is outside active policy.
The spec to check.
Where the spec was declared, prefixed to the message.