Skip to content

Commit

Permalink
branch: Delete main branch (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-nambiar authored Aug 27, 2024
1 parent f559a9f commit da5b060
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions fennel/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", {})
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
packages = [{ include = "fennel" }]
Expand Down

0 comments on commit da5b060

Please sign in to comment.