(raw: str | None)
| 376 | |
| 377 | |
| 378 | def _parse_csv_strings(raw: str | None) -> list[str]: |
| 379 | if not raw: |
| 380 | return [] |
| 381 | values: list[str] = [] |
| 382 | for chunk in raw.split(","): |
| 383 | chunk = chunk.strip() |
| 384 | if not chunk: |
| 385 | continue |
| 386 | values.append(chunk) |
| 387 | return values |
| 388 | |
| 389 | |
| 390 | def _json_response(payload: Any) -> bytes: |