Current File : //usr/lib/python3/dist-packages/s3transfer/__pycache__/delete.cpython-312.pyc |
�
�<�e� � �@ � d dl mZmZ G d� de� Z G d� de� Zy)� )�SubmissionTask�Taskc � � e Zd ZdZd� Zy)�DeleteSubmissionTaskz8Task for submitting tasks to execute an object deletion.c �� � |j j }| j j |t | j ||j
|j |j d�d�� � y)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 �3/usr/lib/python3/dist-packages/s3transfer/delete.py�_submitzDeleteSubmissionTask._submit sc � �&