3434from spyne .error import ResourceNotFoundError
3535from spyne .error import RequestTooLongError
3636from spyne .error import RequestNotAllowed
37- from spyne .error import ValidationError
3837
39- from spyne .model .binary import File
40- from spyne .model .binary import ByteArray
4138from spyne .model .complex import ComplexModelBase
4239
4340
@@ -93,16 +90,16 @@ class ProtocolBase(object):
9390
9491 The arguments the constructor takes are as follows:
9592
96- :param app: The application this protocol belongs to.
97- :param validator: The type of validation this protocol should do on
98- incoming data.
99- :param mime_type: The mime_type this protocol should set for transports
100- that support this. This is a quick way to override the mime_type by
101- default instead of subclassing the releavant protocol implementation.
102- :param skip_depth: Number of wrapper classes to ignore. This is
93+ :param app: The application this protocol belongs to.
94+ :param validator: The type of validation this protocol should do on
95+ incoming data.
96+ :param mime_type: The mime_type this protocol should set for transports
97+ that support this. This is a quick way to override the mime_type by
98+ default instead of subclassing the releavant protocol implementation.
99+ :param skip_depth: Number of wrapper classes to ignore. This is
103100 typically one of (0, 1, 2) but higher numbers may also work for your
104101 case.
105- """
102+ """
106103
107104 allowed_http_verbs = None
108105 mime_type = 'application/octet-stream'
@@ -124,10 +121,6 @@ def __init__(self, app=None, validator=None, mime_type=None, skip_depth=0):
124121
125122 @property
126123 def app (self ):
127- """The :class:`spyne.application.Application` instance this protocol
128- belongs to.
129- """
130-
131124 return self .__app
132125
133126 def set_app (self , value ):
0 commit comments