Added Keyboard.py + started find test method
This commit is contained in:
@@ -248,6 +248,7 @@ def post(session, c_id: str, client_response: dict = None):
|
||||
from myfasthtml.core.commands import CommandsManager
|
||||
command = CommandsManager.get_command(c_id)
|
||||
if command:
|
||||
logger.debug(f"Executing command {command.name}.")
|
||||
return command.execute(client_response)
|
||||
|
||||
raise ValueError(f"Command with ID '{c_id}' not found.")
|
||||
|
||||
Reference in New Issue
Block a user