Skip to main content

validate_target

Method
This is a method of the DeliveryPreflightProtocol class in the protocols module.
Pre-flight target against the live channel/route registry. Called at creation time (when a scheduled/agent-initiated send is registered) so an unroutable target is rejected or warned on with an actionable message, instead of being silently dropped when the job fires.

Signature

Parameters

DeliveryTarget
required
No description available.

Returns

'DeliveryValidation'
class:DeliveryValidation (ok / reason / hint / preview).

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 2406