|
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/resources/__pycache__/ |
U
Q��gv- � @ sZ d dl Z d dlmZ ddlmZ dd� Zddd�Zd d
� ZG dd� d�ZG d
d� d�Z dS )� N)�
xform_name� )�get_data_memberc C s | D ]}|dkr dS qdS )z�
Return True if all elements of the iterable are not None (or if the
iterable is empty). This is like the built-in ``all``, except checks
against None, so 0 and False are allowable values.
NFT� )�iterable�elementr r �E/opt/cppython/lib/python3.8/site-packages/boto3/resources/response.py�all_not_none s r c C s� g }| D ]�}|j }|j}|dkr0t�|j|�}nb|dkrHt�|j|�}nJ|dkrbt|t|j��}n0|dkrxt||j�}n|dkr�qnt d|� ���|�
t|�|f� q|S )a�
Builds a mapping of identifier names to values based on the
identifier source location, type, and target. Identifier
values may be scalars or lists depending on the source type
and location.
:type identifiers: list
:param identifiers: List of :py:class:`~boto3.resources.model.Parameter`
definitions
:type parent: ServiceResource
:param parent: The resource instance to which this action is attached.
:type params: dict
:param params: Request parameters sent to the service.
:type raw_response: dict
:param raw_response: Low-level operation response.
:rtype: list
:return: An ordered list of ``(name, value)`` identifier tuples.
�responseZrequestParameter�
identifier�data�inputzUnsupported source type: )�source�target�jmespath�search�path�getattrr �namer �NotImplementedError�append) �identifiers�parent�params�raw_response�resultsr r r �valuer r r �build_identifiers s"