From 501da95dbbb6efcd707d2a3b76b9aa6f4d8b2a58 Mon Sep 17 00:00:00 2001 From: Gyubong Date: Thu, 22 Aug 2024 18:56:20 +0900 Subject: [PATCH 1/3] fix: Regression of `sesstpl create` command --- src/ai/backend/client/cli/session/lifecycle.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ai/backend/client/cli/session/lifecycle.py b/src/ai/backend/client/cli/session/lifecycle.py index 1b58f8e7f0..cc5bbfd3bb 100644 --- a/src/ai/backend/client/cli/session/lifecycle.py +++ b/src/ai/backend/client/cli/session/lifecycle.py @@ -440,7 +440,9 @@ def create_from_template( else undefined ) prepared_mount, prepared_mount_map, _ = ( - prepare_mount_arg(mount) if len(mount) > 0 or no_mount else (undefined, undefined) + prepare_mount_arg(mount) + if len(mount) > 0 or no_mount + else (undefined, undefined, undefined) ) kwargs = { "name": name, From 825f60ab6ba9b0be793c811fd51987811417b8ec Mon Sep 17 00:00:00 2001 From: Gyubong Date: Thu, 22 Aug 2024 19:00:01 +0900 Subject: [PATCH 2/3] chore: Add news frament --- changes/2761.fix.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/2761.fix.md diff --git a/changes/2761.fix.md b/changes/2761.fix.md new file mode 100644 index 0000000000..372b298642 --- /dev/null +++ b/changes/2761.fix.md @@ -0,0 +1 @@ +Fix regression error of `sesstpl create` command. From 0ca2a2339b55c40dbef97596d8976e049a67e632 Mon Sep 17 00:00:00 2001 From: Gyubong Date: Fri, 23 Aug 2024 17:19:18 +0900 Subject: [PATCH 3/3] chore: Rename news frament --- changes/2761.fix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/2761.fix.md b/changes/2761.fix.md index 372b298642..96e0618325 100644 --- a/changes/2761.fix.md +++ b/changes/2761.fix.md @@ -1 +1 @@ -Fix regression error of `sesstpl create` command. +Fix regression error of `session create_from_template` command.