def METHOD_NAME() -> None:
    """
    Clear the context-local context.
    The typical use-case for this function is to invoke it early in request-
    handling code.
    .. versionadded:: 20.1.0
    .. versionchanged:: 21.1.0 See toplevel note.
    """
    ctx = contextvars.copy_context()
    for k in ctx:
        if k.name.startswith(STRUCTLOG_KEY_PREFIX):
            k.set(Ellipsis)