def traced(
    fn: callable = None,
    *,
    prune_empty: bool = True,
    span_type: str = "function",
    trace_contexts: Optional[List[str]] = None,
):

source code