symphony.bdk.core.client.trace_id.add_x_trace_id#

symphony.bdk.core.client.trace_id.add_x_trace_id(func)#

Decorator of ApiClient.__call_api function so that it adds the X-Trace-Id header with the current trace id value to the HTTP call.

Parameters

func – the function to be decorated

Returns

the decorated function