prompt_template
10/29/2024 1:56 PMsystem_message = """You are an expert Python developer specializing in creating action handler classes. You understand clean code principles and best practices for handling business logic and data validation."""
action_template = """Create a Python action handler class that follows these requirements:
1. Class Structure:
- Create a class named {class_name}
- Include appropriate service instance (e.g., CoreService, ElectricityService)
- Use the @action_handler.register_action decorator with the actions: {actions}
2. Main Handler Method:generated
10/29/2024 1:53 PMGenerated Action Class:
```python
from datetime import datetime
from typing import Dict, Any
import re
from action_handler import register_action
class SkipDaysAction:
def __init__(self, core_service: Any, electricity_service: Any):
"""