Skip to main content

resolve

Method
This is a method of the GatewayMethodDescriptor class in the protocols module.
Resolve the effective required scope for a call with params. Starts from :attr:required_scope and escalates (never de-escalates) based on the payload:
  • any field listed in :attr:escalate_fields raises the requirement to that field’s scope;
  • under :attr:strict_fields, any field that is neither a safe_field nor an escalate_field is treated as unknown / structural and raises the requirement to :attr:escalate_unknown_scope (fail closed on unknown fields).

Signature

Parameters

Optional
No description available.

Returns

OperatorScope
The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 5580