File: //usr/local/CyberCP/lib/python3.10/site-packages/s3transfer/__pycache__/bandwidth.cpython-310.pyc
o
�h= � @ s� d dl Z d dlZG dd� de�ZG dd� d�ZG dd� d�ZG dd � d �ZG d
d� d�ZG dd
� d
�ZG dd� d�Z G dd� d�Z
dS )� Nc s e Zd Z� fdd�Z� ZS )�RequestExceededExceptionc s( || _ || _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__� �G/usr/local/CyberCP/lib/python3.10/site-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 '