From ecb48e4b17a7980efa50228e220b33e2a481b1fd Mon Sep 17 00:00:00 2001 From: Ian Hunt-Isaak Date: Mon, 24 Feb 2025 13:24:54 -0500 Subject: [PATCH] doc: fix wrong name in docstrings (#775) --- icechunk-python/python/icechunk/repository.py | 4 ++-- icechunk-python/python/icechunk/store.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/icechunk-python/python/icechunk/repository.py b/icechunk-python/python/icechunk/repository.py index ceecb7d7..dcafce86 100644 --- a/icechunk-python/python/icechunk/repository.py +++ b/icechunk-python/python/icechunk/repository.py @@ -340,7 +340,7 @@ def delete_branch(self, branch: str) -> None: """ self._repository.delete_branch(branch) - def delete_tag(self, branch: str) -> None: + def delete_tag(self, tag: str) -> None: """ Delete a tag. @@ -353,7 +353,7 @@ def delete_tag(self, branch: str) -> None: ------- None """ - self._repository.delete_tag(branch) + self._repository.delete_tag(tag) def create_tag(self, tag: str, snapshot_id: str) -> None: """ diff --git a/icechunk-python/python/icechunk/store.py b/icechunk-python/python/icechunk/store.py index 8dfb52fb..538fd464 100644 --- a/icechunk-python/python/icechunk/store.py +++ b/icechunk-python/python/icechunk/store.py @@ -289,7 +289,7 @@ async def delete_dir(self, prefix: str) -> None: Parameters ---------- - key : str + prefix : str """ return await self._store.delete_dir(prefix)