avfranco's picture
HF Space deploy snapshot (minimal allow-list)
557ee65
raw
history blame contribute delete
256 Bytes
from typing import Optional
from .logger import get_trace_id
def get_current_trace_id() -> Optional[str]:
"""
Get the current trace ID from the active context.
Provides a clean interface for trace governance.
"""
return get_trace_id()