From a00b678649fcd8b66ab3542a8cec9f70e7671309 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Thu, 2 Apr 2026 20:03:36 +0200 Subject: [PATCH] Improve typing. --- plugins/module_utils/_api/api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/_api/api/client.py b/plugins/module_utils/_api/api/client.py index edb55f1e..a90fc184 100644 --- a/plugins/module_utils/_api/api/client.py +++ b/plugins/module_utils/_api/api/client.py @@ -388,7 +388,7 @@ class APIClient(_Session): @t.overload def _stream_helper( self, response: Response, *, decode: t.Literal[False] = False - ) -> t.Generator[bytes]: ... + ) -> t.Generator[bytes | str]: ... @t.overload def _stream_helper(