thunder.core.trace.get_tracectx

thunder.core.trace.get_tracectx()[source]

Gets the current trace context, returning None if there is no current trace context.

Return type:

Optional[TraceCtx]