Ejemplo n.º 1
0
 class SomeService(Service):
     @srpc(MultiPoint(3), _returns=MultiPoint(3))
     def some_call(p):
         print(p)
         print(type(p))
         assert isinstance(p, six.string_types)
         return p
Ejemplo n.º 2
0
 class SomeService(ServiceBase):
     @srpc(MultiPoint(3), _returns=MultiPoint(3))
     def some_call(p):
         print p
         print type(p)
         assert isinstance(p, basestring)
         return p