chore: Minor formatting fixes (whitespace cleanup)

This commit is contained in:
Lukas 2025-11-28 07:08:32 +01:00
parent 3525629853
commit 08c7264d7a
2 changed files with 1 additions and 1 deletions

View File

@ -105,6 +105,7 @@ Real-time updates for downloads, scans, and queue operations.
**Series Identifier in Messages:** **Series Identifier in Messages:**
All series-related WebSocket events include `key` as the primary identifier in their data payload: All series-related WebSocket events include `key` as the primary identifier in their data payload:
```json ```json
{ {
"type": "download_progress", "type": "download_progress",

View File

@ -16,7 +16,6 @@ from typing import List, Optional
from pydantic import BaseModel, Field, HttpUrl, field_validator from pydantic import BaseModel, Field, HttpUrl, field_validator
# Regex pattern for valid series keys (URL-safe, lowercase with hyphens) # Regex pattern for valid series keys (URL-safe, lowercase with hyphens)
KEY_PATTERN = re.compile(r'^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$') KEY_PATTERN = re.compile(r'^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$')