We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc164e commit 22080b5Copy full SHA for 22080b5
1 file changed
kbcstorage/branches.py
@@ -46,5 +46,9 @@ def branch_detail(self, branch_id="default"):
46
"""
47
Get branch details
48
49
+
50
+ if not isinstance(branch_id, str) or branch_id == "":
51
+ raise ValueError(f"Invalid branch_id '{branch_id}'")
52
53
url = f"{self.base_url}dev-branches/{branch_id}"
54
return self._get(url)
0 commit comments