U n‰^ ã@s<ddlmZddlmZGdd„deƒZGdd„deƒZdS)é)ÚTask)ÚSubmissionTaskc@seZdZdZdd„ZdS)ÚDeleteSubmissionTaskz8Task for submitting tasks to execute an object deletion.c Ks6|jj}|j |t|j||j|j|jdœdd¡dS)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)Ztransfer_coordinatorZ main_kwargsÚis_finalN)ÚmetaÚ call_argsZ_transfer_coordinatorZsubmitÚDeleteObjectTaskrrr)ÚselfrZrequest_executorZtransfer_futureÚkwargsr ©rúm/private/var/folders/sd/whlwsn6x1_qgglc0mjv25_695qk2gl/T/pip-install-4zq3fp6i/s3transfer/s3transfer/delete.pyÚ_submitsüøþzDeleteSubmissionTask._submitN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrrsrc@seZdZdd„ZdS)r cCs|jf||dœ|—ŽdS)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. )ZBucketZKeyN)Z delete_object)r rrrrrrrÚ_main9szDeleteObjectTask._mainN)rrrrrrrrr 8sr N)Zs3transfer.tasksrrrr rrrrÚ s  '