Skip to content

Commit 7e6e70e

Browse files
committed
refactor(BA-5712): clean up stale slice C fragment and comment
- Drop the leftover ``changes/BA-5650-C.misc.md`` file that was superseded when slice C's fragment was renamed to ``changes/11045.enhance.md``. - Remove the explanatory comment about ``user_uuid`` being non-nullable from the ``update_session_name`` path — it restates what the surrounding code already makes clear.
1 parent d832999 commit 7e6e70e

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

changes/BA-5650-C.misc.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/ai/backend/manager/repositories/session/db_source/db_source.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,6 @@ async def modify_session(
306306
raise SessionNotFound(f"Session not found (id:{session_id})")
307307

308308
if session_name:
309-
# ``SessionRow.user_uuid`` is non-nullable, so we only need to
310-
# gate on whether a new name was provided.
311-
# Check the owner of the target session has any session with the same name
312309
try:
313310
sess = await SessionRow.get_session(
314311
db_session,

0 commit comments

Comments
 (0)