HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/customizations/s3/__pycache__/fileinfobuilder.cpython-38.pyc
U

<�^{�@s ddlmZGdd�de�ZdS)�)�FileInfoc@s*eZdZdZd
dd�Zdd�Zdd	�ZdS)�FileInfoBuilderz�
    This class takes a ``FileBase`` object's attributes and generates
    a ``FileInfo`` object so that the operation can be performed.
    NFcCs*||_||_|dk	r||_||_||_dS�N)�_client�_source_client�_parameters�
_is_stream)�self�client�
source_client�
parameters�	is_stream�r�J/usr/lib/python3/dist-packages/awscli/customizations/s3/fileinfobuilder.py�__init__szFileInfoBuilder.__init__ccs|D]}|�|�}|VqdSr)�_inject_info)r	�files�	file_base�	file_inforrr�calls
zFileInfoBuilder.callcCs�i}|j|d<|j|d<|j|d<|j|d<|j|d<|j|d<|j|d<|j|d<|j|d	<|j	|d
<|j
|d<|jdkr�|j�d�r�|j|d
<|j
|d<n|j
|d
<|j|d<tf|�S)N�src�dest�compare_key�size�last_update�src_type�	dest_type�operation_namerr
Zassociated_response_data�deleter
r)rrrrrrrrrrZ
response_data�getrrr)r	rZfile_info_attrrrrr#s(












�


zFileInfoBuilder._inject_info)NNF)�__name__�
__module__�__qualname__�__doc__rrrrrrrrs�
	rN)Z!awscli.customizations.s3.fileinfor�objectrrrrr�<module>
s