@wsexpose(MyDTO, int, text, text, text, text, text)
def get(self, id, node, sid, stid, vmdid):
Hello!In pecans controller I use **kwargs to read URL params:
@expose('json')
def get(self, id, **kwargs):
I want to convert this code to WSME and tried this approach:
@expose(MyDTO, text, node=text, sid=text, stid=text, vmdid=text)
def get(self, id, **kwargs):
When I call my controller with node=0&sla=0&stack=0&vm=0 URL params I get error:
{"debuginfo": null,"faultcode": "Server","faultstring": "'NoneType' object is not callable"}
I'm sure that only WSME sends this kind of errors. What is the correct way do decorate that kind of pecan controller?--
You received this message because you are subscribed to the Google Groups "python-wsme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-wsme...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.