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_fieldsraises the requirement to that field’s scope; - under :attr:
strict_fields, any field that is neither asafe_fieldnor anescalate_fieldis 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
