Skip to content

Commit

Permalink
doc: Leave migration to the new mutation as future work
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Sep 19, 2024
1 parent be8b098 commit 704ec14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai/backend/client/cli/session/lifecycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,8 @@ async def cmd_main() -> None:
async with AsyncSession() as api_sess:
session = api_sess.ComputeSession.from_session_id(session_id)
await session.rename(new_name)
# FIXME: allow the renaming operation by RBAC and ownership
# resp = await session.update(name=new_name)
print_done(f"Session renamed to {new_name}.")

try:
Expand Down

0 comments on commit 704ec14

Please sign in to comment.