-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Proposed refactor
- Use the built-in
Enumcapabilities to makeLightningEnumsimpler. - Modify and rename the
_OnAccessEnumMetatype to only call adeprecate()method (it's not used for anything else. - Create a
DeprecatedEnumbase class and use that instead of constantly settingmetaclass=...on deprecated enums. - Correct attribution for
_OnAccessEnumMeta(current attribution is to a website and article that falsely claims authorship ofEnum).
Motivation
Fixing the attribution (which came to my attention due to an aenum issue, and efficient use of Enum.