[#370] Unify delete_object_tagging
method in S3 clients
Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
This commit is contained in:
parent
c8eec11906
commit
c4ab14fce8
2 changed files with 2 additions and 2 deletions
|
@ -770,7 +770,7 @@ class Boto3ClientWrapper(S3ClientWrapper):
|
|||
return response.get("TagSet")
|
||||
|
||||
@reporter.step("Delete object tagging")
|
||||
def delete_object_tagging(self, bucket: str, key: str) -> None:
|
||||
def delete_object_tagging(self, bucket: str, key: str, version_id: Optional[str] = None) -> None:
|
||||
params = self._convert_to_s3_params(locals())
|
||||
self._exec_request(
|
||||
self.boto3_client.delete_object_tagging,
|
||||
|
|
|
@ -377,7 +377,7 @@ class S3ClientWrapper(HumanReadableABC):
|
|||
"""Returns the tag-set of an object."""
|
||||
|
||||
@abstractmethod
|
||||
def delete_object_tagging(self, bucket: str, key: str) -> None:
|
||||
def delete_object_tagging(self, bucket: str, key: str, version_id: Optional[str] = None) -> None:
|
||||
"""Removes the entire tag set from the specified object."""
|
||||
|
||||
@abstractmethod
|
||||
|
|
Loading…
Add table
Reference in a new issue