MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / sync_wrapper

Function sync_wrapper

fastdeploy/metrics/trace.py:760–762  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

758
759 @wraps(func)
760 def sync_wrapper(*args, **kwargs):
761 with tracer.start_as_current_span(name):
762 return func(*args, **kwargs)
763
764 return sync_wrapper
765

Callers

nothing calls this directly

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected