Enum type with Ladon

Asked by Desseaux

Hi,

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

Language:
English Edit question
Status:
Expired
For:
ladon Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Desseaux (jerome-desseaux) said :
#1
Revision history for this message
Launchpad Janitor (janitor) said :
#2

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