File: //usr/lib/python3/dist-packages/twisted/web/__pycache__/xmlrpc.cpython-310.pyc
o
�b�R � @ s& d Z ddlZddlmZ ddlmZ ddlmZmZm Z m
Z
ddlmZm
Z
mZ ddlmZ ddlmZmZ ddlmZ dd lmZmZmZ d
ZdZdd
� ZG dd� de
�ZG dd� d�ZG dd� dej�Z G dd� de �Z!dd� Z"G dd� dej#�Z$dZ%G dd� dej&�Z'G dd� d�Z(g d�Z)dS ) z�
A generic resource for publishing objects via XML-RPC.
Maintainer: Itamar Shtull-Trauring
@var Fault: See L{xmlrpclib.Fault}
@type Fault: L{xmlrpclib.Fault}
� N)�urlparse)�Binary�Boolean�DateTime�Fault)�defer�error�protocol)�Logger)�failure�reflect)�nativeString)�http�resource�server�A �B c C s
d| _ | S )a\
Decorator to cause the request to be passed as the first argument
to the method.
If an I{xmlrpc_} method is wrapped with C{withRequest}, the
request object is passed as the first argument to that method.
For example::
@withRequest
def xmlrpc_echo(self, request, s):
return s
@since: 10.2
T)�withRequest)�f� r �4/usr/lib/python3/dist-packages/twisted/web/xmlrpc.pyr "