Enum type with Ladon

Asked by Desseaux


I'm writing a WS with Ladon and I need to use Enum types in classes. How can I do that ? I always got errors and I'm getting crazy !

In order, I've tried to extend Enum (enum package) & LadonType and write my enum as recommanded from python documentation (3.4). This wasn't working because I didn't defined types. Next, I tried to use {'type':str,'default'=myString} but this didn't worked too ... I'm out of idea

Thanks you for helping :)

Question information

English Edit question
ladon Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Desseaux (jerome-desseaux) said :
Revision history for this message
Launchpad Janitor (janitor) said :

This question was expired because it remained in the 'Open' state without activity for the last 15 days.