/usr/lib/python3/dist-packages/twisted/web/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/web/__pycache__/soap.cpython-310.pyc (4501B)
o
bn @ sP d Z ddlZddlmZ ddlmZmZmZ G dd dejZ G dd dZ
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)clientresourceserverc @ sJ e Zd ZdZdZdZdd Zdd Zdd Zd
d Z dd
Z
dddZdS )
SOAPPublisherzPublish 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| dS )zLookup published SOAP function.
Override in subclasses. Default behaviour - publish methods
starting with soap_.
@return: callable or None if not found.
zsoap_%sN)getattr)selffunctionName r 2/usr/lib/python3/dist-packages/twisted/web/soap.pylookupFunction( s zSOAPPublisher.lookupFunctionc C s |j }t|ddd\}}}}|j|j|j}}} t|r#| }t| r*| } | |}
|
s:| || t
jS t|
drZi }|
D ]
\}}
|
|t|<