Commit 865d9df
docs(expr): restate to_bytes behavior when ctx is None
The previous docstring on Expr.to_bytes called out the no-ctx case
("Without ctx a default codec is used"). The pickle-support rewrite
replaced the docstring with a description of what travels inside the
bytes but dropped the sentence that answered the immediate question
a reader has when they see the optional `ctx` parameter.
Re-add a one-paragraph explanation: with `ctx`, encoding routes
through the session's installed LogicalExtensionCodec — so
`with_python_udf_inlining` takes effect; without `ctx`, the default
codec is used (Python UDF inlining on, no user-installed extension
codec).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fafefd0 commit 865d9df
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
442 | 448 | | |
443 | 449 | | |
444 | 450 | | |
| |||
0 commit comments