From da5b060973489c31e72228a368701f03d06996b7 Mon Sep 17 00:00:00 2001 From: Aditya Nambiar Date: Tue, 27 Aug 2024 14:20:16 -0700 Subject: [PATCH] branch: Delete main branch (#542) --- fennel/client/client.py | 3 --- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/fennel/client/client.py b/fennel/client/client.py index 5deb9ca92..3f743d5a3 100644 --- a/fennel/client/client.py +++ b/fennel/client/client.py @@ -402,9 +402,6 @@ def delete_branch(self, name: str): name (str): The name of the branch to delete. """ - if name == _MAIN_BRANCH: - raise Exception("Cannot delete the main branch.") - cur_branch = self._branch self.checkout(name) response = self._post_json(f"{V1_API}/delete", {}) diff --git a/pyproject.toml b/pyproject.toml index 7f04d08e6..b49da819e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fennel-ai" -version = "1.5.9" +version = "1.5.10" description = "The modern realtime feature engineering platform" authors = ["Fennel AI "] packages = [{ include = "fennel" }]