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

Commit a62badc

Browse files
authored
fix: Wrong default field name for ComputeSession.paginated_list() (#167)
1 parent a34290d commit a62badc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes/167.fix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a wrong field name (`last_updated`) for `status_changed` when `ComputeSession.paginated_list()` is executed without the explicit field list.

src/ai/backend/client/func/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ async def paginated_list(
103103
'type',
104104
'status',
105105
'status_info',
106-
'last_updated',
106+
'status_changed',
107107
'result',
108108
]
109109
async for item in generate_paginated_results(

0 commit comments

Comments
 (0)