We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 520a2ef commit 9bbc2c2Copy full SHA for 9bbc2c2
python/djls/agent.py
@@ -17,9 +17,9 @@ class LSPAgent:
17
def __init__(self):
18
from .handlers import handlers
19
20
- self._handlers = handlers
+ self.handlers = handlers
21
logger.debug(
22
- "LSPAgent initialized with handlers: %s", list(self._handlers.keys())
+ "LSPAgent initialized with handlers: %s", list(self.handlers.keys())
23
)
24
25
async def serve(self):
@@ -71,7 +71,7 @@ async def handle_request(self, request_data: bytes) -> Message:
71
messages_pb2.Error.INVALID_REQUEST, "No command specified"
72
73
74
- handler = self._handlers.get(command_name)
+ handler = self.handlers.get(command_name)
75
if not handler:
76
logger.error("Unknown command: %s", command_name)
77
return self.create_error(
0 commit comments