Skip to content

Commit a04ec5c

Browse files
timsaucerclaude
andcommitted
docs: use 'thread-local sender context' as adjectival phrase
Bare 'thread-local' as a noun reads ambiguously next to the _local.ctx attribute name. Hyphenate as adjective with explicit 'sender context' noun so the referent is unambiguous. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 00d333b commit a04ec5c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/datafusion/ipc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def init_worker():
7676
encoding; explicit ``expr.to_bytes(ctx)`` calls still use the supplied
7777
``ctx``.
7878
79-
The thread-local holds a strong reference to the installed
80-
:class:`SessionContext` until :func:`clear_sender_ctx` is called or
81-
the thread exits. Long-running driver threads that install a sender
79+
The thread-local sender context holds a strong reference to the
80+
installed :class:`SessionContext` until :func:`clear_sender_ctx` is
81+
called or the thread exits. Long-running driver threads that install a sender
8282
context once and never clear it will retain that session for the
8383
lifetime of the thread; pair :func:`set_sender_ctx` with
8484
:func:`clear_sender_ctx` (e.g. in a ``try``/``finally``) when the

0 commit comments

Comments
 (0)