From a256cd1a3972ce7fa6dd9cab656fe1fa36f9cdbe Mon Sep 17 00:00:00 2001 From: nagashiva23 Date: Wed, 22 Jul 2026 09:31:40 +0530 Subject: [PATCH] docs: clarify chunked behavior in non-blocking pod log example --- examples/pod_logs_non_blocking.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pod_logs_non_blocking.py b/examples/pod_logs_non_blocking.py index 01673790e5..5f09841067 100644 --- a/examples/pod_logs_non_blocking.py +++ b/examples/pod_logs_non_blocking.py @@ -26,6 +26,9 @@ def stream_logs(): ) # 👇 make socket non-blocking with timeout + # Note: when streaming logs with _preload_content=False, the transport may + # deliver arbitrary chunk boundaries, so callers should split or buffer data + # themselves if they need line-oriented processing. resp._fp.fp.raw._sock.settimeout(1) try: