Unify parsing workers, analytics API with PostgreSQL, map UI, and PI distribution into centers/ with Docker Compose. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
223 B
Python
10 lines
223 B
Python
"""Shared job queue payload schemas (CA → CP via Redis)."""
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class JobPayload(BaseModel):
|
|
job_id: int
|
|
source_type: str
|
|
source_config: dict = Field(default_factory=dict)
|