Return the active span ID as hex string
None
from keywordsai_tracing import get_client, task @task(name="span_demo") def span_demo(): client = get_client() return client.get_current_span_id() print(span_demo())
Was this page helpful?