mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-04-07 10:43:03 +00:00
Improve typing.
This commit is contained in:
parent
b00fc741e1
commit
a00b678649
@ -388,7 +388,7 @@ class APIClient(_Session):
|
|||||||
@t.overload
|
@t.overload
|
||||||
def _stream_helper(
|
def _stream_helper(
|
||||||
self, response: Response, *, decode: t.Literal[False] = False
|
self, response: Response, *, decode: t.Literal[False] = False
|
||||||
) -> t.Generator[bytes]: ...
|
) -> t.Generator[bytes | str]: ...
|
||||||
|
|
||||||
@t.overload
|
@t.overload
|
||||||
def _stream_helper(
|
def _stream_helper(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user