from uuid import UUID from pydantic import BaseModel, ConfigDict class AraExportTriggerBody(BaseModel): """SQS trigger for the ara_export Lambda (ADR-0055/0065). Attach mode: the FastAPI route created the Task + SubTask and pinned the recipe (``portfolio_id``, ``scenario_ids``, ``property_ids``, ``recipient_email``, ``export_name``) onto the SubTask's ``inputs``. The message therefore carries only the identifiers — the (potentially large) property set never travels through the 256 KB SQS body. """ model_config = ConfigDict(extra="allow") task_id: UUID subtask_id: UUID