def context_id() -> str:
    """Return a short representation of context that includes the thread and
    async task identifiers."""

    ret = "T[" + threading.current_thread().name + "]"
    try:
        task = asyncio.current_task()
        if task is not None:
            ret += " K[" + task.name + "]"
    except Exception:
        pass

    return ret
Return a short representation of context that includes the thread and
    async task identifiers.
src/core/trulens/core/utils/python.py