MCPcopy
hub / github.com/nonebot/nonebot2 / __call__

Method __call__

nonebot/permission.py:53–54  ·  view source on GitHub ↗
(self, type: str = EventType())

Source from the content-addressed store, hash-verified

51 return "Request()"
52
53 async def __call__(self, type: str = EventType()) -> bool:
54 return type == "request"
55
56
57class MetaEvent:

Callers

nothing calls this directly

Calls 1

EventTypeFunction · 0.90

Tested by

no test coverage detected