Coverage for src/command_models.py: 0%

6 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-06-05 22:56 -0700

1""" 

2Command models for Chuck application. 

3Defines structured request objects for commands. 

4""" 

5 

6from typing import Dict, Any 

7from dataclasses import dataclass 

8 

9# Import the CommandResult class instead of defining CommandResponse 

10 

11 

12@dataclass 

13class CommandRequest: 

14 """Request object for commands""" 

15 

16 command: str 

17 params: Dict[str, Any] 

18 

19 

20# Note: CommandResponse has been replaced by CommandResult from src.commands.base