MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / __init__

Method __init__

aiohttp/streams.py:739–745  ·  view source on GitHub ↗
(
        self, protocol: BaseProtocol, limit: int, *, loop: asyncio.AbstractEventLoop
    )

Source from the content-addressed store, hash-verified

737 """
738
739 def __init__(
740 self, protocol: BaseProtocol, limit: int, *, loop: asyncio.AbstractEventLoop
741 ) -> None:
742 super().__init__(loop=loop)
743 self._size = 0
744 self._protocol = protocol
745 self._limit = limit * 2
746
747 def feed_data(self, data: _T, size: int = 0) -> None:
748 super().feed_data(data, size)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected