Browse Source

Drop the _list_functions debug dump

It logged every callable on the adapter, private helpers included, at info
level on every connect — drowning the startup output the capability banner
is meant to make readable. Nothing called it but connect(), and the inspect
import went with it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Paul-Dieter Klumpp 1 tuần trước cách đây
mục cha
commit
63ffcf3c86
1 tập tin đã thay đổi với 0 bổ sung9 xóa
  1. 0 9
      adapter.py

+ 0 - 9
adapter.py

@@ -12,7 +12,6 @@ including both outbound messaging and realtime WebSocket connections.
 
 from __future__ import annotations
 
-import inspect
 import random
 
 from gateway.platforms.helpers import MessageDeduplicator
@@ -259,12 +258,6 @@ class ChattoAdapter(BasePlatformAdapter):
         self._dedup = MessageDeduplicator()
 
 
-    def _list_functions(self):
-        for name, member in inspect.getmembers(self, predicate=callable):
-            # filtert dunder-Methoden falls gewünscht
-            if not name.startswith('__'):
-                logger.info("functions: %s", name)
-                
     # ------------------------------------------------------------------ #
     # Auth
     # ------------------------------------------------------------------ #
@@ -387,8 +380,6 @@ class ChattoAdapter(BasePlatformAdapter):
         )
         self._mark_connected()
 
-        self._list_functions()
-
         logger.info(
             "Chatto: connected and authentiated to %s using login:'%s' (display_name:'%s' id: '%s')",
             self.chatto_config.base_url.value,