Visitar URL original
feat(cli): Add `feast projects delete` command (closes #5095) by mailtoboggavarapu-coder · Pull Request #6318 · feast-dev/feast · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(cli): add delete_project method to FeatureStore
Added a method to delete a project from the registry.
  • Loading branch information
mailtoboggavarapu-coder authored and ntkathole committed May 6, 2026
commit b18ba31e7cdf50fa89ad72685938a6c526bceb6f
15 changes: 14 additions & 1 deletion sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -3401,7 +3401,20 @@ def get_project(self, name: Optional[str]) -> Project:
"""
return self.registry.get_project(name or self.project)

def list_saved_datasets(
def delete_project(self, name: str, commit: bool = True) -> None:
"""
Deletes a project from the registry.

Args:
name: Name of the project to delete.
commit: Whether the change should be persisted immediately.

Raises:
ProjectNotFoundException: The project could not be found.
"""
return self.registry.delete_project(name, commit=commit)

def list_saved_datasets(
self, allow_cache: bool = False, tags: Optional[dict[str, str]] = None
) -> List[SavedDataset]:
"""
Expand Down