MCPcopy Create free account
hub / github.com/ehForwarderBot/ehForwarderBot / __init__

Method __init__

ehforwarderbot/chat.py:750–758  ·  view source on GitHub ↗
(self, *, channel: Optional[SlaveChannel] = None, middleware: Optional[Middleware] = None,
                 module_name: str = "", channel_emoji: str = "", module_id: ModuleID = ModuleID(""), name: str = "",
                 alias: Optional[str] = None, id: ChatID = ChatID(""), uid: ChatID = ChatID(""), vendor_specific: Dict[str, Any] = None,
                 description: str = "", notification: ChatNotificationState = ChatNotificationState.ALL,
                 with_self: bool = True)

Source from the content-addressed store, hash-verified

748 """
749
750 def __init__(self, *, channel: Optional[SlaveChannel] = None, middleware: Optional[Middleware] = None,
751 module_name: str = "", channel_emoji: str = "", module_id: ModuleID = ModuleID(""), name: str = "",
752 alias: Optional[str] = None, id: ChatID = ChatID(""), uid: ChatID = ChatID(""), vendor_specific: Dict[str, Any] = None,
753 description: str = "", notification: ChatNotificationState = ChatNotificationState.ALL,
754 with_self: bool = True):
755 super().__init__(channel=channel, middleware=middleware, module_name=module_name, channel_emoji=channel_emoji,
756 module_id=module_id, name=name, alias=alias, id=id, uid=uid, vendor_specific=vendor_specific,
757 description=description, notification=notification, with_self=with_self)
758 self.verify()
759
760 def verify(self):
761 super().verify()

Callers

nothing calls this directly

Calls 2

verifyMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected