swarmauri.standard.tracing.concrete.ChainTracer module

class swarmauri.standard.tracing.concrete.ChainTracer.ChainTracer[source]

Bases: IChainTracer

annotate_trace(*args, **kwargs)[source]
Return type:

None

end_trace(*args, **kwargs)[source]
Return type:

None

process_chain(chain)[source]

Processes each item in the operation chain by executing the specified external function with its args and kwargs. Logs starting, annotating, and ending the trace based on tuple position.

Parameters:

chain (List[Tuple[Callable[..., Any], List[Any], Dict[str, Any]]]) – A list where each tuple contains: - An external function to execute. - A list of positional arguments for the function. - A dictionary of keyword arguments for the function.

Return type:

ChainTracer

show()[source]
Return type:

None

start_trace(*args, **kwargs)[source]
Return type:

None