Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/boto/__pycache__/ |
Upload File : |
o ckF[% � @ s� d dl Z d dlZd dlmZ d dlmZ d dlmZ d dlmZ i Z dd� Z dd � Zd d� Zdd � Z e fdd�Zddd�Z ddd�Z ddd�Z ddd�Zdd� ZG dd� de�ZdS )� N)�json)�BotoClientError)�BotoEndpointResolver)�StaticEndpointBuilderc C s t | �S )�� Loads a given JSON file & returns it. :param path: The path to the JSON file :type path: string :returns: The loaded data )�_load_json_file)�path� r �1/usr/lib/python3/dist-packages/boto/regioninfo.py�load_endpoint_json# s r c C s8 t | d�� }t�|�W d � S 1 sw Y dS )r �rN)�openr �load)r �endpoints_filer r r r / s $�r c C s0 |� � D ]\}}| �|i � | | �|� q| S )aW Given an existing set of endpoint data, this will deep-update it with any similarly structured data in the additions. :param defaults: The existing endpoints data :type defaults: dict :param defaults: The additional endpoints data :type defaults: dict :returns: The modified endpoints data :rtype: dict )�items� setdefault�update)�defaults� additions�service�region_infor r r �merge_endpoints<