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

Commit

Permalink
fix: Remove invalid "uuid" field from groups model (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrysn committed Mar 30, 2022
1 parent 5fe346a commit 5b9c208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/216.fix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove invalid "uuid" field from `groups` model.
2 changes: 1 addition & 1 deletion src/ai/backend/client/func/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async def create(cls, domain_name: str, name: str, description: str = '',
You need an admin privilege for this operation.
"""
if fields is None:
fields = ('id', 'domain_name', 'name', 'uuid')
fields = ('id', 'domain_name', 'name')
query = textwrap.dedent("""\
mutation($name: String!, $input: GroupInput!) {
create_group(name: $name, props: $input) {
Expand Down

0 comments on commit 5b9c208

Please sign in to comment.