Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/libcloud/dns/drivers/__pycache__/pointdns.cpython-39.pyc
Ðазад
a q�ho � @ s� d Z g d�ZzddlZW n ey2 ddlZY n0 ddlmZ ddlmZ ddlm Z ddl mZ ddlm Z dd lmZmZ dd lmZ ddlmZ ddlmZmZmZ G d d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZdS )z Point DNS Driver )�PointDNSException�Redirect�MailRedirect�PointDNSDriver� N)�httplib)� ProviderError)�MalformedResponseError)�PointDNSConnection)� BaseHTTPError)�Provider� RecordType)�ZoneDoesNotExistError)�RecordDoesNotExistError)� DNSDriver�Zone�Recordc s e Zd Zd� fdd� Z� ZS )r Nc s$ t t| �j|||d� ||f| _d S )N��value� http_code�driver)�superr �__init__�args)�selfr r r �� __class__� ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/libcloud/dns/drivers/pointdns.pyr , s �zPointDNSException.__init__)N)�__name__� __module__�__qualname__r � __classcell__r r r r r * s r c @ s4 e Zd ZdZddd�Zd dd�Zdd � Zd d� ZdS )r z Point DNS redirect. NFc C sL |rt |�nd| _|| _|| _|r*t |�nd| _|| _|| _|| _|| _dS )a� :param id: Redirect id. :type id: ``str`` :param name: The FQDN for the record. :type name: ``str`` :param data: The data field. (redirect_to) :type data: ``str`` :param type: The type of redirects 301, 302 or 0 for iframes. :type type: ``str`` :param driver: DNSDriver instance. :type driver: :class:`DNSDriver` :param zone: Zone where redirect belongs. :type zone: :class:`Zone` :param iframe: Title of iframe (optional). :type iframe: ``str`` :param query: boolean Information about including query string when redirecting. (optional). :type query: ``bool`` N) �str�id�name�data�typer �zone�iframe�query) r r# r$ r% r&