ok
Direktori : /lib/python3.6/site-packages/certbot/__pycache__/ |
Current File : //lib/python3.6/site-packages/certbot/__pycache__/achallenges.cpython-36.pyc |
3 گa� � @ s� d Z ddlZddlmZ ddlmZ ddlZddlmZ ddl m Z eje�Z G dd� dej�ZG d d � d e�ZG dd� de�ZdS ) a0 Client annotated ACME challenges. Please use names such as ``achall`` to distinguish from variables "of type" :class:`acme.challenges.Challenge` (denoted by ``chall``) and :class:`.ChallengeBody` (denoted by ``challb``):: from acme import challenges from acme import messages from certbot import achallenges chall = challenges.DNS(token='foo') challb = messages.ChallengeBody(chall=chall) achall = achallenges.DNS(chall=challb, domain='example.com') Note, that all annotated challenges act as a proxy objects:: achall.token == challb.token � N)�Any)�Type)� challenges)� Challengec @ s2 e Zd ZU dZdZeZee e e d�dd�ZdS )�AnnotatedChallengez�Client annotated challenge. Wraps around server provided challenge and annotates with data useful for the client. :ivar ~.challb: Wrapped `~.ChallengeBody`. �challb)�name�returnc C s t | j|�S )N)�getattrr )�selfr � r �!/usr/lib/python3.6/achallenges.py�__getattr__, s zAnnotatedChallenge.__getattr__N)r )�__name__� __module__�__qualname__�__doc__� __slots__�NotImplementedZ _acme_typer r �strr r r r r r r s r c @ s&