Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/libcloud/common/__pycache__/vultr.cpython-39.pyc
Ðазад
a q�hA � @ s\ d dl mZ d dlmZmZ g d�ZdZG dd� de�ZG dd� de�ZG d d � d e �Z dS )� )�Dict)� ConnectionKey�JsonResponse)�API_HOST�VultrConnection�VultrException� VultrResponsez api.vultr.comc sV e Zd ZdZi ZdZddddddd�Z� fd d �Z� fdd�Zd d� Z dd� Z � ZS )r Nz7Invalid API location. Check the URL that you are using.z]Invalid or missing API key. Check that your API key is present and matches your assigned key.z_Invalid HTTP method. Check that the method (POST|GET) matches what the documentation indicates.zHRequest failed. Check the response body for a more detailed description.z1Internal server error. Try again at a later time.z\Rate limit hit. API requests are limited to an average of 1/s. Try your request again later.)i� i� i� i� i� i� c sF g | _ tt| �j||d� | �� \| _| _ | �� sB| �| j d ��d S )N)�response� connectionr )�errors�superr �__init__�parse_body_and_errors�objects�success� _make_excp)�selfr r �� __class__� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/libcloud/common/vultr.pyr 4 s �zVultrResponse.__init__c sn g }g }| j | jv r>| j | jd<