body is not convert into a wsme types is some case
Bug #1233219 reported by
Mehdi Abaakouk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WSME |
Fix Released
|
Undecided
|
Mehdi Abaakouk |
Bug Description
Hi,
class MeterController
@expose(
def post(self, body):
assert type(body[0], Sample)
In this case the body is a list of dict or it should be a list of Sample.
Cheers,
Changed in wsme: | |
assignee: | nobody → Mehdi Abaakouk (sileht) |
Changed in wsme: | |
milestone: | none → 0.8.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
It should be a list of Sample. What do you get ?
Cheers
PS: If you have general purpose questions about wsme you should use the mailing list (https:/ /groups. google. com/forum/ #!forum/ python- wsme)