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(