File: //opt/alt/python37/lib/python3.7/site-packages/boto3/docs/__pycache__/utils.cpython-37.pyc
B
�P�e< � @ s\ d dl Z d dlZdd� Zdd� Zdd� Zdd � Zd
d� Zdd
� Zddd�ZG dd� d�Z dS )� Nc C s\ g }xR| D ]J}t �|j�}|j}x|d r8|d d }q"W |d dkr
|�|d � q
W |S )z�Helper method to determine which parameters to ignore for actions
:returns: A list of the parameter names that does not need to be
included in a resource's method call for documentation purposes.
�childrenr �type�field�value)�jmespath�compile�target�parsed�append)�paramsZ
ignore_params�param�result�current� r �A/opt/alt/python37/lib/python3.7/site-packages/boto3/docs/utils.py�get_resource_ignore_params s
r c C s
t �| �S )N)�inspect�
isfunction)Z
action_handler r r �is_resource_action'