D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
python3
/
dist-packages
/
botocore
/
__pycache__
/
Filename :
waiter.cpython-312.pyc
back
Copy
� P��e�7 � �� � d dl Z d dlZd dlZd dlmZ d dlmZ ddlmZ ddl m Z mZmZ e j e� Zd� Zd� Z G d � d � Z G d� d� Z G d � d� Z G d� d� Z G d� d� Zy)� N)�WaiterDocstring)�get_service_module_name� )� xform_name)�ClientError�WaiterConfigError�WaiterErrorc � � |j | � }t |j � }t t ||� � }d� }t | |j j |j j |d�� |_ t t |j j � �d| ��� }t |t fd|i� } || ||� S )a :type waiter_name: str :param waiter_name: The name of the waiter. The name should match the name (including the casing) of the key name in the waiter model file (typically this is CamelCasing). :type waiter_model: botocore.waiter.WaiterModel :param waiter_model: The model for the waiter configuration. :type client: botocore.client.BaseClient :param client: The botocore client associated with the service. :rtype: botocore.waiter.Waiter :return: The waiter object. c �0 � t j | fi |�� y �N)�Waiter�wait)�self�kwargss �1/usr/lib/python3/dist-packages/botocore/waiter.pyr z'create_waiter_with_client.<locals>.wait6 s � ����D�#�F�#� F)�waiter_name� event_emitter� service_model�service_waiter_model�include_signaturez.Waiter.r )� get_waiterr � operation�NormalizedOperationMethod�getattrr �meta�eventsr �__doc__�strr �typer ) r �waiter_model�client�single_waiter_config�operation_name�operation_methodr �waiter_class_name�documented_waiter_clss r �create_waiter_with_clientr( s� � �$ (�2�2�;�?��� 4� >� >�?�N�0����'���$� #���k�k�(�(��k�k�/�/�)���D�L� �"�6�;�;�#<�#<�=�{� L��� !�!2�V�I���~�N�� !��)�+;�� r c �P � | j d� }t |t � rd|v ryy)N�Error�CodeTF)�get� isinstance�dict)�response�errors r �is_valid_waiter_errorr1 P s&