Skip to content

Commit e27c352

Browse files
refactor: remove debug and test scripts for assignee functionality (#212)
- Deleted `debug_assignee.py` and `test_assignee_with_data.py` scripts as they are no longer needed for debugging or testing the assignee functionality. - Updated `AssigneeDTO` and related logic in `watchlist_repository.py` to reflect changes in field names for clarity. - Adjusted unit tests in `test_watchlist_service.py` to align with the new DTO structure. This cleanup enhances code maintainability by removing obsolete scripts and ensuring consistency in data handling. Co-authored-by: Amit Prakash <[email protected]>
1 parent cf9997b commit e27c352

File tree

5 files changed

+15
-387
lines changed

5 files changed

+15
-387
lines changed

debug_assignee.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

test_assignee_with_data.py

Lines changed: 0 additions & 245 deletions
This file was deleted.

todo/dto/watchlist_dto.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66

77

88
class AssigneeDTO(BaseModel):
9-
id: str
10-
name: str
11-
email: str
12-
type: str # "user" or "team"
9+
assignee_id: str
10+
assignee_name: str
11+
user_type: str # "user" or "team"
1312

1413

1514
class WatchlistDTO(BaseModel):

0 commit comments

Comments
 (0)