avfranco's picture
HF Space deploy snapshot (minimal allow-list)
d64fd55
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()