Refactored db logic. Can now specify schema in config

This commit is contained in:
Jonas Linter
2025-11-04 09:20:02 +01:00
parent e7b789fcac
commit eb10e070b1
6 changed files with 107 additions and 15 deletions

View File

@@ -219,9 +219,9 @@ class ServerCapabilities:
def _is_action_implemented(self, action_class: type[AlpineBitsAction]) -> bool:
"""Check if an action is actually implemented or just uses the default behavior.
This is a simple check - in practice, you might want more sophisticated detection.
"""
# Check if the class has overridden the handle method
return "handle" in action_class.__dict__
def create_capabilities_dict(self) -> None: