mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Improve typing.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user