Skip to content

Commit

Permalink
fix: Add missing status_history GQL field
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Dec 9, 2024
1 parent dccfbfc commit 08ea1e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai/backend/manager/models/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ class Meta:
# status
status = graphene.String()
status_changed = GQLDateTime()
status_history = graphene.JSONString(description="Added in 24.12.0.")
status_info = graphene.String()
status_data = graphene.JSONString()
created_at = GQLDateTime()
Expand Down Expand Up @@ -931,6 +932,7 @@ def parse_row(cls, ctx: GraphQueryContext, row: KernelRow) -> Mapping[str, Any]:
# status
"status": row.status.name,
"status_changed": row.status_changed,
"status_history": row.status_history,
"status_info": row.status_info,
"status_data": row.status_data,
"created_at": row.created_at,
Expand Down

0 comments on commit 08ea1e7

Please sign in to comment.