Commit d7a1ff4
docs: pickle module security warning link + move user-facing prose
to Python wrapper
Two changes:
* Reference link to the pickle module's official security warning
in `https://docs.python.org/3/library/pickle.html#module-pickle`.
Added in the user guide ("Disabling Python UDF inlining" note and
the Security warning block) and in the Python
`SessionContext.with_python_udf_inlining` docstring. The
unqualified phrase "pickle is unsafe on untrusted input" assumed
reader background that not every datafusion-python user has.
* Strip the user-facing prose docstring from the Rust
`PySessionContext::with_python_udf_inlining` method. Python
wrappers are what users see via `help()` and Sphinx; the Rust
doc-comment duplicated the same text and risked drifting from the
Python version. Matches the surrounding methods
(`with_logical_extension_codec`, `with_physical_extension_codec`)
which carry no Rust doc-comment for the same reason.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 977e88c commit d7a1ff4
3 files changed
Lines changed: 16 additions & 15 deletions
File tree
- crates/core/src
- docs/source/user-guide/io
- python/datafusion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | | - | |
1412 | | - | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | 1411 | | |
1418 | 1412 | | |
1419 | 1413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
205 | 208 | | |
206 | 209 | | |
207 | 210 | | |
| |||
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1787 | 1787 | | |
1788 | 1788 | | |
1789 | 1789 | | |
1790 | | - | |
1791 | | - | |
| 1790 | + | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
1792 | 1794 | | |
1793 | 1795 | | |
1794 | 1796 | | |
| |||
0 commit comments