Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/web/__pycache__/soap.cpython-39.pyc
Ðазад
a k�hn � @ sP d Z ddlZddlmZ ddlmZmZmZ G dd� dej�Z G dd� d�Z dS ) z� SOAP support for twisted.web. Requires SOAPpy 0.10.1 or later. Maintainer: Itamar Shtull-Trauring Future plans: SOAPContext support of some kind. Pluggable method lookup policies. � N)�defer)�client�resource�serverc @ sJ e Zd ZdZdZdZdd� Zdd� Zdd � Zd d� Z dd � Z ddd�ZdS )� SOAPPublisherz�Publish SOAP methods. By default, publish methods beginning with 'soap_'. If the method has an attribute 'useKeywords', it well get the arguments passed as keyword args. � zUTF-8c C s t | d| d�S )z�Lookup published SOAP function. Override in subclasses. Default behaviour - publish methods starting with soap_. @return: callable or None if not found. zsoap_%sN)�getattr)�selfZfunctionName� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/web/soap.py�lookupFunction( s zSOAPPublisher.lookupFunctionc C s� |j �� }t�|ddd�\}}}}|j|j|j }}} t|�rF|� }t| �rT| � } | �|�} | st| � ||� t jS t| d�r�i }| � � D ]\}} | |t|�<