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
class SomeService(ServiceBase): @srpc(MultiPoint(3), _returns=MultiPoint(3)) def some_call(p): print p print type(p) assert isinstance(p, basestring) return p