Automated Action 73c662b24c Fix requirements.txt issue and lint code
- Add requirements.txt file to git
- Add project files to git
- Fix linting issues in task.py and env.py
- Update SQLAlchemy queries to use 'not' instead of '== False'
- Fix import ordering in env.py
2025-06-06 10:44:18 +00:00

17 lines
533 B
Python

from typing import Any, Dict, List, Optional
from pydantic import BaseModel, Field
class HTTPError(BaseModel):
detail: str = Field(..., description="Error message")
class ValidationError(BaseModel):
loc: List[str] = Field(..., description="Location of validation error")
msg: str = Field(..., description="Validation error message")
type: str = Field(..., description="Validation error type")
class HTTPValidationError(BaseModel):
detail: List[ValidationError] = Field(..., description="Validation errors")