@@ -8,8 +8,8 @@
Loading
8 8
9 9
10 10
if TYPE_CHECKING:
11 -
    from .docker import Docker
12 11
    from .containers import DockerContainer
12 +
    from .docker import Docker
13 13
14 14
15 15
class DockerLog:

@@ -348,7 +348,11 @@
Loading
348 348
            params.update({"labels": json.dumps(labels)})
349 349
350 350
        cm = self.docker._query(
351 -
            "build", "POST", params=clean_map(params), headers=headers, data=data,
351 +
            "build",
352 +
            "POST",
353 +
            params=clean_map(params),
354 +
            headers=headers,
355 +
            data=data,
352 356
        )
353 357
        return self._handle_response(cm, stream)
354 358

@@ -69,7 +69,8 @@
Loading
69 69
                else:
70 70
                    msg = msg + f" Body: [{body!r}]"
71 71
            raise DockerError(
72 -
                500, {"message": msg},
72 +
                500,
73 +
                {"message": msg},
73 74
            )
74 75
        protocol = conn.protocol
75 76
        loop = resp._loop

@@ -50,13 +50,19 @@
Loading
50 50
51 51
    @overload
52 52
    def start(
53 -
        self, *, timeout: aiohttp.ClientTimeout = None, detach: Literal[False] = False,
53 +
        self,
54 +
        *,
55 +
        timeout: aiohttp.ClientTimeout = None,
56 +
        detach: Literal[False] = False,
54 57
    ) -> Stream:
55 58
        pass
56 59
57 60
    @overload  # noqa
58 61
    async def start(
59 -
        self, *, timeout: aiohttp.ClientTimeout = None, detach: Literal[True],
62 +
        self,
63 +
        *,
64 +
        timeout: aiohttp.ClientTimeout = None,
65 +
        detach: Literal[True],
60 66
    ) -> bytes:
61 67
        pass
62 68
@@ -95,7 +101,9 @@
Loading
95 101
            return Stream(self.docker, setup, timeout)
96 102
97 103
    async def _start_detached(
98 -
        self, timeout: aiohttp.ClientTimeout = None, tty: bool = False,
104 +
        self,
105 +
        timeout: aiohttp.ClientTimeout = None,
106 +
        tty: bool = False,
99 107
    ) -> bytes:
100 108
        if self._tty is None:
101 109
            await self.inspect()  # should restore tty
Files Coverage
aiodocker 86.17%
Project Totals (21 files) 86.17%
Untitled
Untitled
Untitled
Untitled
Untitled

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading