Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/cppython/lib/python3.8/site-packages/boto3/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/cppython/lib/python3.8/site-packages/boto3/__pycache__/utils.cpython-38.pyc
U

Q��gE�@s`ddlZddlmZedddddg�ZGdd�de�Zd	d
�Zdd�Zd
d�ZGdd�d�ZdS)�N)�
namedtuple�ServiceContext�service_nameZ
service_modelZservice_waiter_modelZresource_json_definitionsc@seZdZdZdS)raProvides important service-wide, read-only information about a service

    :type service_name: str
    :param service_name: The name of the service

    :type service_model: :py:class:`botocore.model.ServiceModel`
    :param service_model: The model of the service.

    :type service_waiter_model: :py:class:`botocore.waiter.WaiterModel` or
        a waiter model-like object such as
        :py:class:`boto3.utils.LazyLoadedWaiterModel`
    :param service_waiter_model: The waiter model of the service.

    :type resource_json_definitions: dict
    :param resource_json_definitions: The loaded json models of all resource
        shapes for a service. It is equivalient of loading a
        ``resource-1.json`` and retrieving the value at the key "resources".
    N)�__name__�
__module__�__qualname__�__doc__�r	r	�8/opt/cppython/lib/python3.8/site-packages/boto3/utils.pyrscCst|�tj|S)zIImport module given a name.

    Does not support relative imports.

    )�
__import__�sys�modules)�namer	r	r
�
import_module2srcs|���fdd�}|S)Ncs2��dd�\}}t|�}|���t||�f|�S)N�.�)�rsplitr�update�getattr)�kwargs�moduleZ
function_name��	full_nameZ
parent_kwargsr	r
�_handler?s
zlazy_call.<locals>._handlerr	)rrrr	rr
�	lazy_call<srcCs&||krtd|�d���n|||<dS)NzCannot inject class attribute "z*", attribute already exists in class dict.)�RuntimeError)Zclass_attributesr�valuer	r	r
�inject_attributeHs

�rc@s eZdZdZdd�Zdd�ZdS)�LazyLoadedWaiterModelatA lazily loaded waiter model

    This does not load the service waiter model until an attempt is made
    to retrieve the waiter model for a specific waiter. This is helpful
    in docstring generation where we do not need to actually need to grab
    the waiter-2.json until it is accessed through a ``get_waiter`` call
    when the docstring is generated/accessed.
    cCs||_||_||_dS�N)�_session�
_service_name�_api_version)�selfZ
bc_sessionr�api_versionr	r	r
�__init__\szLazyLoadedWaiterModel.__init__cCs|j�|j|j��|�Sr)r Zget_waiter_modelr!r"�
get_waiter)r#Zwaiter_namer	r	r
r&as��z LazyLoadedWaiterModel.get_waiterN)rrrrr%r&r	r	r	r
rRs	r)	r�collectionsrZ_ServiceContextrrrrrr	r	r	r
�<module>
s��


F1le Man4ger