
    /Jf	                     N    d dl mZmZ  G d de          Z G d de          ZdS )    )SubmissionTaskTaskc                       e Zd ZdZd ZdS )DeleteSubmissionTaskz8Task for submitting tasks to execute an object deletion.c                     |j         j        }| j                            |t	          | j        ||j        |j        |j        dd                     dS )a  
        :param client: The client associated with the transfer manager

        :type config: s3transfer.manager.TransferConfig
        :param config: The transfer config associated with the transfer
            manager

        :type osutil: s3transfer.utils.OSUtil
        :param osutil: The os utility associated to the transfer manager

        :type request_executor: s3transfer.futures.BoundedExecutor
        :param request_executor: The request executor associated with the
            transfer manager

        :type transfer_future: s3transfer.futures.TransferFuture
        :param transfer_future: The transfer future associated with the
            transfer request that tasks are being submitted for
        )clientbucketkey
extra_argsT)transfer_coordinatormain_kwargsis_finalN)meta	call_args_transfer_coordinatorsubmitDeleteObjectTaskr	   r
   r   )selfr   request_executortransfer_futurekwargsr   s         T/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/s3transfer/delete.py_submitzDeleteSubmissionTask._submit   sr    & $(2	"))%)%?$'.$="+"6	  	 	 		
 	
 	
 	
 	
    N)__name__
__module____qualname____doc__r    r   r   r   r      s)        BB!
 !
 !
 !
 !
r   r   c                       e Zd Zd ZdS )r   c                 &     |j         d||d| dS )aV  

        :param client: The S3 client to use when calling DeleteObject

        :type bucket: str
        :param bucket: The name of the bucket.

        :type key: str
        :param key: The name of the object to delete.

        :type extra_args: dict
        :param extra_args: Extra arguments to pass to the DeleteObject call.

        )BucketKeyNr   )delete_object)r   r   r	   r
   r   s        r   _mainzDeleteObjectTask._main8   s*     	BFBBzBBBBBr   N)r   r   r   r%   r   r   r   r   r   7   s(        C C C C Cr   r   N)s3transfer.tasksr   r   r   r   r   r   r   <module>r'      s    2 1 1 1 1 1 1 1$
 $
 $
 $
 $
> $
 $
 $
NC C C C Ct C C C C Cr   