Skip to content

Commit

Permalink
fix: Wrong GQL ordering field spec parser (#2927)
Browse files Browse the repository at this point in the history
  • Loading branch information
fregataa authored Oct 21, 2024
1 parent 0dd465d commit 07b2499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/2927.fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `order` GQL query argument parser of `group_nodes`
4 changes: 2 additions & 2 deletions src/ai/backend/manager/models/gql_models/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"row_id": ("id", None),
"name": ("name", None),
"is_active": ("is_active", None),
"created_at": ("created_at", dtparse),
"modified_at": ("modified_at", dtparse),
"created_at": ("created_at", None),
"modified_at": ("modified_at", None),
"domain_name": ("domain_name", None),
"resource_policy": ("resource_policy", None),
}
Expand Down

0 comments on commit 07b2499

Please sign in to comment.