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

Method __call__

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

Source from the content-addressed store, hash-verified

39 return "Notice()"
40
41 async def __call__(self, type: str = EventType()) -> bool:
42 return type == "notice"
43
44
45class Request:

Callers

nothing calls this directly

Calls 1

EventTypeFunction · 0.90

Tested by

no test coverage detected