(self)
| 247 | |
| 248 | @field_validator("scheduled_start_time") |
| 249 | @classmethod |
| 250 | def validate_scheduled_start_time(cls, value: str | None) -> str | None: |
| 251 | normalized = (value or "").strip() |
| 252 | if not normalized: |
| 253 | return "" |
| 254 | parts = normalized.split(":") |
| 255 | if len(parts) not in (2, 3) or any(not part.isdigit() for part in parts): |
| 256 | raise ValueError("scheduled_start_time 必须是 HH:MM 或 HH:MM:SS") |
nothing calls this directly
no outgoing calls
no test coverage detected