src/structlog/threadlocal.py
def clear_threadlocal():
    """
    Clear the thread-local context.

    The typical use-case for this function is to invoke it early in
    request-handling code.

    .. versionadded:: 19.2.0
    """
    _CONTEXT.context = {}

    Clear the thread-local context.

    The typical use-case for this function is to invoke it early in
    request-handling code.

    .. versionadded:: 19.2.0
    
Clear the thread-local context.
The typical use-case for this function is to invoke it early in
request-handling code.


Clear the thread - local context . The typical use - case for this function is to invoke it early in request - handling code .
def clear_threadlocal():
    _CONTEXT.context = {}
def clear_threadlocal ( ) : _CONTEXT . context = { }
Clear the thread-local context.
Clear the thread - local context .
"""
    Clear the thread-local context.

    The typical use-case for this function is to invoke it early in
    request-handling code.

    .. versionadded:: 19.2.0
    """