bkyryliuk commented on pull request #9695:
URL:
https://github.com/apache/incubator-superset/pull/9695#issuecomment-621989765
will do, tested in ipython that it will work
```
In [2]: import enum
In [3]: class EmailDeliveryType(str, enum.Enum):
...: attachment = "Attachment"
...: inline = "Inline"
...:
In [4]: EmailDeliveryType.attachment
Out[4]: <EmailDeliveryType.attachment: 'Attachment'>
In [5]: EmailDeliveryType.attachment == "Attachment"
Out[5]: True
In [6]: EmailDeliveryType.attachment == "Inline"
Out[6]: False
In [7]: EmailDeliveryType.inline == "Inline"
Out[7]: True
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]