Beispiel #1
0
        class Product(ComplexModel):
            __namespace__ = 'some_ns'

            hex = ByteArray(encoding='hex')
            base64_1 = ByteArray(encoding='base64')
            base64_2 = ByteArray
Beispiel #2
0
 class Z(ComplexModel):
     _type_info = [
         ('f', File(logged=False)),
         ('t', ByteArray(logged=False)),
         ('z', Array(String)),
     ]
Beispiel #3
0
 class SomeService(ServiceBase):
     @srpc(ByteArray(min_occurs=1), _body_style='bare', _returns=ByteArray)
     def some_call(p):
         pass
Beispiel #4
0
 class SomeService(ServiceBase):
     @srpc(ByteArray(nullable=False), _returns=ByteArray)
     def some_call(p):
         pass
Beispiel #5
0
 class SomeService(Service):
     @srpc(ByteArray(min_occurs=1), _returns=ByteArray)
     def some_call(p):
         pass