refactor: enhance code comments for clarity and maintainability across multiple files

This commit is contained in:
Abhimanyu Saharan
2026-02-13 02:35:32 +05:30
parent 8cced3a034
commit 4b1336534e
7 changed files with 44 additions and 1 deletions

View File

@@ -164,7 +164,8 @@ async def validate_dependency_update(
},
)
# Ensure the dependency graph is acyclic after applying the update.
# Rebuild the board-wide graph and overlay the pending edit for this task so
# validation catches indirect cycles created through existing edges.
task_ids = list(
await session.exec(
select(col(Task.id)).where(col(Task.board_id) == board_id),