0x1949 Team - FAZEMRX - MANAGER
Edit File: soap.cpython-310.pyc
o �bn � @ 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)�self�functionName� r �2/usr/lib/python3/dist-packages/twisted/web/soap.py�lookupFunction( s zSOAPPublisher.lookupFunctionc C s� |j �� }t�|ddd�\}}}}|j|j|j}}} t|�r#|� }t| �r*| � } | �|�} | s:| � ||� t jS t| d�rZi }| � � D ] \}} | |t|�<