bry00 commented on issue #4271:
URL: https://github.com/apache/pulsar/issues/4271#issuecomment-885642406


   > the problem here is that `MyEnum` is really of Python type `Enum`. That 
enum might be defined elsewhere in the application (or might be coming from a 
library), therefore we cannot count on passing `required=True` there.
   > 
   > We would have to add a `c = pulsar.schema.Enum(MyEnum, required=True)`
   
   Is there any chance to add Enum field supporting properly `required` and 
`default` parameters?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to