Py-enum

Latest version: v1.1.1

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.1

- feat: `ChoiceEnum`增加`choices`/`values`/`labels`三个属性的访问
- fix: `ChoiceEnum`的`__contains__`方法可用于member实例化对象的判断

1.1.0

- feat: 增加方法`ChoiceEnum.to_js_enum`返回数组数据
- test: 补充了`ChoiceEnum`在`argparse`choice中使用的测试用例

1.0.2

first publish package

1.0.1

- fix: 调整初始化方法`_EnumDict.py2_init`,修复Python2版本在`Enum`中使用`_ignore_`的问题

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.