File: //opt/alt/python311/lib/python3.11/site-packages/s3transfer/__pycache__/bandwidth.cpython-311.pyc
�
/�;f= � �� � d dl Z d dlZ G d� de� � Z G d� d� � Z G d� d� � Z G d� d � � Z G d
� d� � Z G d� d
� � Z G d� d� � Z G d� d� � Z
dS )� Nc � � � e Zd Z� fd�Z� xZS )�RequestExceededExceptionc � �� || _ || _ d� ||� � }t � � � |� � 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 {} exceeded the amount available. Retry in {}N)�
requested_amt�
retry_time�format�super�__init__)�selfr r �msg� __class__s ��G/opt/alt/python311/lib/python3.11/site-packages/s3transfer/bandwidth.pyr
z!RequestExceededException.__init__ sN �� � +���$���L�S�S��:�
�
�� ����������� )�__name__�
__module__�__qualname__r
�
__classcell__)r
s @r r r s8 �� � � � � �� � � � � � � � r r c � � e Zd ZdZdS )�RequestTokenzDA token to pass as an identifier when consuming from the LeakyBucketN)r r r �__doc__� r r r r '