Netflix / dispatch

All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!
Apache License 2.0
4.84k stars 476 forks source link

refactor: use `StrEnum` python3.11 feature for `DispatchEnum` #4915

Closed wssheldon closed 2 weeks ago

wssheldon commented 2 weeks ago

DispatchEnum is redundant now that StrEnum exists as of 3.11 and we would get __contains__ for free and __str__ for free.

https://tsak.dev/posts/python-enum/