mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-07 02:38:58 +00:00
Improve typing.
This commit is contained in:
parent
b00fc741e1
commit
a00b678649
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user