snakemake/remote/S3.py
def delete_from_bucket(self, bucket_name, key):
        """Delete a file from s3

        This function deletes an object from a specified AWS S3 bucket.

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            The name of the object deleted
        """
        assert bucket_name, "bucket_name must be specified"
        assert key, "Key must be specified"

        k = self.s3.Object(bucket_name, key)
        ret = k.delete()
        return ret.name
Delete a file from s3

        This function deletes an object from a specified AWS S3 bucket.

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            The name of the object deleted
        
Delete a file from s3
This function deletes an object from a specified AWS S3 bucket.
Delete a file from s3 This function deletes an object from a specified AWS S3 bucket .
def delete_from_bucket(self, bucket_name, key):
        assert bucket_name, "bucket_name must be specified"
        assert key, "Key must be specified"
        k = self.s3.Object(bucket_name, key)
        ret = k.delete()
        return ret.name
def delete_from_bucket ( self , bucket_name , key ) : assert bucket_name , "bucket_name must be specified" assert key , "Key must be specified" k = self . s3 . Object ( bucket_name , key ) ret = k . delete ( ) return ret . name
Delete a file from s3
This function deletes an object from a specified AWS S3 bucket.
Delete a file from s3 This function deletes an object from a specified AWS S3 bucket .
"""Delete a file from s3

        This function deletes an object from a specified AWS S3 bucket.

        Args:
            bucket_name: the name of the S3 bucket to use (bucket name only, not ARN)
            key: the key of the object to delete from the bucket

        Returns:
            The name of the object deleted
        """
The name of the object deleted
The name of the object deleted
self
bucket_name
the name of the S3 bucket to use (bucket name only, not ARN)
the name of the S3 bucket to use ( bucket name only not ARN )
key
the key of the object to delete from the bucket
the key of the object to delete from the bucket