__adapter_config__
__adapter_config__ -> {}
Exposes properties of an adapter config to be overridden using field mappings or in lifecycle hooks.
A service request's payload may optionally have an __adapter_config__ field added to it. When present, the keys and values of the __adapter_config__ dictionary override the corresponding entries in the adapter config that would normally be used.
The __adapter_config__ field can either be set directly on the payload in a hook:
my_service_request.payload.__adapter_config__ = {
"username" : "override_username",
"host" : "other.website.com"
}Or equivalently, individual fieldmappings can be created like below
FIELD: __adapter_config__.username
VALUE: "temporary_username"
FIELD: __adapter_config__.host
VALUE: "other.website.com"Last updated
Was this helpful?