File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,21 +247,16 @@ impl PythonLogicalCodec {
247247 & self . inner
248248 }
249249
250- /// Whether Python-defined UDFs are encoded inline (and decoded
251- /// from cloudpickle blobs). Defaults to `true`. Set to `false`
252- /// when the codec sits on a session that must produce
253- /// cross-language wire bytes, or reject `cloudpickle.loads` on
254- /// untrusted `from_bytes` input.
250+ /// Toggle inline encoding of Python UDFs. See
251+ /// `SessionContext.with_python_udf_inlining` (Python) for full
252+ /// behavior and use cases.
255253 ///
256254 /// Security scope: strict mode (`false`) narrows only the codec
257255 /// layer — it stops `Expr::from_bytes` from invoking
258256 /// `cloudpickle.loads` on the inline `DFPY*` payload. It does
259257 /// **not** make `pickle.loads(untrusted_bytes)` safe; treat every
260258 /// `pickle.loads` on untrusted input as unsafe regardless of this
261- /// setting. See Python's [pickle module security warning][1] for
262- /// why `pickle.loads` is unsafe in general.
263- ///
264- /// [1]: https://docs.python.org/3/library/pickle.html#module-pickle
259+ /// setting.
265260 pub fn with_python_udf_inlining ( mut self , enabled : bool ) -> Self {
266261 self . python_udf_inlining = enabled;
267262 self
You can’t perform that action at this time.
0 commit comments