Model/applications/sharepoint_renamer/sharepoint_renamer_request.py
Daniel Roth e7785f6b76 Record a rename run's result summary on its sub_task 🟥
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-29 08:58:18 +00:00

11 lines
500 B
Python

from pydantic import BaseModel
class SharepointRenamerRequest(BaseModel):
# The DomnaSites member name the run targets, e.g. "SOCIAL_HOUSING_WAVE_3".
# Also the @task_handler `source_id` (the body key matches
# Source.SHAREPOINT_SITE's value), so a run is attributable after the fact.
# The base path is still hardcoded and Sero-specific — this records what
# ran; it is not yet a multi-site lever.
sharepoint_site: str = "SOCIAL_HOUSING_WAVE_3"
dry_run: bool = False