MCPcopy Create free account
hub / github.com/nonebot/nonebot2 / __init__

Method __init__

nonebot/drivers/aiohttp.py:360–369  ·  view source on GitHub ↗
(
        self,
        *,
        request: Request,
        session: aiohttp.ClientSession,
        websocket: aiohttp.ClientWebSocketResponse,
    )

Source from the content-addressed store, hash-verified

358 """AIOHTTP Websocket Wrapper"""
359
360 def __init__(
361 self,
362 *,
363 request: Request,
364 session: aiohttp.ClientSession,
365 websocket: aiohttp.ClientWebSocketResponse,
366 ):
367 super().__init__(request=request)
368 self.session = session
369 self.websocket = websocket
370
371 @property
372 @override

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected