get_current_span_data

opik.opik_context.get_current_span_data() SpanData | None

Returns current span created by track() decorator or None if no span was found.