Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/paramiko/__pycache__/auth_strategy.cpython-39.pyc
Ðазад
a s�h�, � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ G dd� d�Z G d d � d e �Z G dd� de �ZG d d� de �ZG dd� de�Z G dd� de�Zedddg�ZG dd� de�ZG dd� de�ZG dd� d�ZdS )z� Modern, adaptable authentication machinery. Replaces certain parts of `.SSHClient`. For a concrete implementation, see the ``OpenSSHAuthStrategy`` class in `Fabric <https://fabfile.org>`_. � )� namedtuple� )�AgentKey)� get_logger)�AuthenticationExceptionc @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd S )� AuthSourcez� Some SSH authentication source, such as a password, private key, or agent. See subclasses in this module for concrete implementations. All implementations must accept at least a ``username`` (``str``) kwarg. c C s || _ d S �N��username)�selfr � r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/paramiko/auth_strategy.py�__init__ s zAuthSource.__init__c K s0 dd� |� � D �}d�|�}| jj� d|� d�S )Nc S s g | ]\}}|� d |���qS )�=r )�.0�k�vr r r � <listcomp> � z$AuthSource._repr.<locals>.<listcomp>z, �(�))�items�join� __class__�__name__)r �kwargs�pairsZjoinedr r r �_repr s zAuthSource._reprc C s | � � S r )r �r r r r �__repr__"