| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/s3transfer/__pycache__/ |
Upload File : |
o
�y�`-= � @ s� d dl Z d dlZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZG dd
� d
e�Z G dd� de�Z
G dd� de�ZdS )� Nc s e Zd Z� fdd�Z� ZS )�RequestExceededExceptionc s, || _ || _d||f }tt| ��|� dS )a� Error when requested amount exceeds what is allowed
The request that raised this error should be retried after waiting
the time specified by ``retry_time``.
:type requested_amt: int
:param requested_amt: The originally requested byte amount
:type retry_time: float
:param retry_time: The length in time to wait to retry for the
requested amount
z<Request amount %s exceeded the amount available. Retry in %sN)�
requested_amt�
retry_time�superr �__init__)�selfr r �msg�� __class__� �6/usr/lib/python3/dist-packages/s3transfer/bandwidth.pyr s
��z!RequestExceededException.__init__)�__name__�
__module__�__qualname__r �
__classcell__r r r r r s r c @ s e Zd ZdZdS )�RequestTokenzDA token to pass as an identifier when consuming from the LeakyBucketN)r
r r �__doc__r r r r r ( s r c @ s e Zd Zdd� Zdd� ZdS )� TimeUtilsc C s t � � S )zgGet the current time back
:rtype: float
:returns: The current time in seconds
)�time�r r r r r . s zTimeUtils.timec C s
t �|�S )zwSleep for a designated time
:type value: float
:param value: The time to sleep for in seconds
)r �sleep)r �valuer r r r 6 s
zTimeUtils.sleepN)r
r r r r r r r r r - s r c @ s"