[spyne] Spyne @mrpc problem

Burak Arslan burak.arslan at arskom.com.tr
Wed Dec 24 19:03:52 UTC 2014


Hi Pavel,

On 12/24/14 20:56, Патрин Павел wrote:
> Hello!
> I have a problem with spyne @mrpc decorator. I use spyne 2.11 and try
> create a service with @mrpc-decorated methods, but error occures at
> spyne/application.py:203 at line "cls = ctx.descriptor.parent_class"
>  
> @mrpc(Integer)
>     def create_all_groups(cls, ctx, value):
>  
> Maybe at spyne/application.py:203 you mean ctx.descriptor.service_class?
> I try to search "parent_class" in spyne sources but cant find
> something useful.
> Could you explain me, how to use @mrpc decorator?
>  

@mrpc is not documented. I don't think it does what you think it does.
What's your purpose?


More information about the people mailing list