Skip to main content

resolve_required_scope

Function
This function is defined in the protocols module.
Resolve the scope required to invoke method with params. Default-deny: an unclassified/unknown method requires ADMIN so new control surface is closed until explicitly classified — the omission fails closed rather than open.

Signature

Parameters

str
required
No description available.
Optional
No description available.

Returns

OperatorScope
The result of the operation.

Uses

  • desc.resolve

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5693