Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
fix: Wrong default field name for ComputeSession.paginated_list() (#167)
Browse files Browse the repository at this point in the history
Backported-From: main
Backported-To: 20.09
  • Loading branch information
achimnol committed Jul 10, 2021
1 parent e1cbcf1 commit 39344e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/167.fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a wrong field name (`last_updated`) for `status_changed` when `ComputeSession.paginated_list()` is executed without the explicit field list.
2 changes: 1 addition & 1 deletion src/ai/backend/client/func/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def paginated_list(
'type',
'status',
'status_info',
'last_updated',
'status_changed',
'result',
]
async for item in generate_paginated_results(
Expand Down

0 comments on commit 39344e9

Please sign in to comment.