From 352562985308932347f6dcbeec243012ab4754f6 Mon Sep 17 00:00:00 2001 From: Lukas Date: Thu, 27 Nov 2025 20:02:18 +0100 Subject: [PATCH] Mark Task 4.5 as complete in instructions.md --- instructions.md | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/instructions.md b/instructions.md index 3e4b8b9..cc35d00 100644 --- a/instructions.md +++ b/instructions.md @@ -168,41 +168,7 @@ For each task completed: #### Task 4.4: Update WebSocket API Endpoints to Use Key ✅ (November 27, 2025) ---- - -#### Task 4.5: Update Pydantic Models to Use Key - -**Files:** - -- `src/server/models/anime.py` -- `src/server/models/download.py` - -**Objective:** Ensure all Pydantic models use `key` as the series identifier. - -**Steps:** - -1. Open `src/server/models/anime.py` -2. Review all models (e.g., `AnimeDetail`, `AnimeSummary`, `SearchResult`) -3. Ensure `key` is the primary identifier field -4. Add `folder` as optional metadata field -5. Update field validators to validate `key` format -6. Repeat for `src/server/models/download.py` -7. Update `DownloadRequest` and related models -8. Update all docstrings and field descriptions - -**Success Criteria:** - -- [ ] All anime models use `key` as identifier -- [ ] All download models use `key` as identifier -- [ ] Field validators ensure `key` format is correct -- [ ] `folder` is optional metadata -- [ ] All model tests pass - -**Test Command:** - -```bash -conda run -n AniWorld python -m pytest tests/unit/ -k "models" -v -``` +#### Task 4.5: Update Pydantic Models to Use Key ✅ (November 27, 2025) --- @@ -802,7 +768,7 @@ conda run -n AniWorld python -m pytest tests/integration/test_identifier_consist - [x] Task 4.2: Update Download API Endpoints ✅ **Completed November 27, 2025** - [x] Task 4.3: Update Queue API Endpoints ✅ **Completed November 27, 2025** - [x] Task 4.4: Update WebSocket API Endpoints ✅ **Completed November 27, 2025** - - [ ] Task 4.5: Update Pydantic Models + - [x] Task 4.5: Update Pydantic Models ✅ **Completed November 27, 2025** - [ ] Task 4.6: Update Validators - [ ] Task 4.7: Update Template Helpers - [ ] Phase 5: Frontend