Allow renaming groups of completed runs
@@ -1041,8 +1041,8 @@ class Run(Attrs):
"""
mutation = gql(
"""
- mutation UpsertBucket($id: String!, $description: String, $display_name: String, $notes: String, $tags: [String!], $config: JSONString!) {
- upsertBucket(input: {id: $id, description: $description, displayName: $display_name, notes: $notes, tags: $tags, config: $config}) {
+ mutation UpsertBucket($id: String!, $description: String, $display_name: String, $notes: String, $tags: [String!], $config: JSONString!, $groupName: String) {
+ upsertBucket(input: {id: $id, description: $description, displayName: $display_name, notes: $notes, tags: $tags, config: $config, groupName: $groupName}) {
bucket {
...RunFragment
}
@@ -1060,6 +1060,7 @@ class Run(Attrs):
notes=self.notes,
display_name=self.display_name,
config=self.json_config,
+ groupName=self.group,
)
self.summary.update()
