chore: Minor formatting fixes (whitespace cleanup)
This commit is contained in:
parent
3525629853
commit
08c7264d7a
@ -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",
|
||||||
|
|||||||
@ -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]$')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user